/* ==============================================================================
   lefortovo.balaganmafia.ru — blocks added for the Lefortovo club site
   (schedule, hosts, contacts, booking modal states). Uses tokens from styles.css.
   ============================================================================== */

/* --- Hero: where & when --- */
.hero-where {
  margin-top: 12px !important;
}

/* --- Schedule --- */
.schedule {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 4vw, 48px);
}
.schedule-inner {
  width: var(--container, min(1200px, calc(100% - 32px)));
  margin: 0 auto;
}
.schedule-title,
.hosts-title {
  margin: 0 0 16px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.schedule-lead,
.hosts-lead {
  color: #d6d3e0 !important;
  max-width: 760px;
  margin: 0 0 32px;
  font-family: var(--font-family);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.upcoming-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(164, 73, 245, 0.35);
  border-radius: 18px;
  background: rgba(20, 20, 24, 0.72);
  backdrop-filter: blur(6px);
}
.upcoming-card-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.upcoming-card-day {
  font-family: var(--second-family);
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}
.upcoming-card-time,
.upcoming-card-weekday {
  margin: 0;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--muted);
}
.upcoming-card-weekday::first-letter {
  text-transform: uppercase;
}
.upcoming-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--white);
}
.upcoming-card-price {
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}
.upcoming-card-btn.btn {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
}

/* --- Hosts --- */
.hosts {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 110px) 0 clamp(32px, 5vw, 64px);
}
.hosts-inner {
  width: var(--container, min(1200px, calc(100% - 32px)));
  margin: 0 auto;
}
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.host-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 20px 26px;
  text-align: center;
  background: linear-gradient(180deg, #1e1a28 0%, #151318 100%);
  border: 1px solid rgba(242, 182, 38, 0.55);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(164, 73, 245, 0.22);
}
.host-card::before,
.host-card::after {
  content: "\2660";
  position: absolute;
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
}
.host-card::before { top: 12px; left: 14px; }
.host-card::after { bottom: 12px; right: 14px; transform: rotate(180deg); }
.host-photo {
  width: 78%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #1c1a24;
  box-shadow: 0 0 0 6px rgba(164, 73, 245, 0.25), 0 0 30px rgba(164, 73, 245, 0.45);
  filter: saturate(0.75) contrast(1.08) brightness(0.92) sepia(0.15);
}
.host-name {
  margin: 10px 0 0;
  font-family: var(--second-family);
  font-size: 30px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}
.host-role {
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bdb6cc;
}
.host-text {
  margin: 6px 0 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Contacts (single club) --- */
.club-contacts-list.club-contacts-list--single {
  grid-template-columns: minmax(0, 1fr) !important;
  width: auto !important;
}
.club-contacts-venue {
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
}
.club-contacts-address {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.club-contacts-address a,
.club-contacts-other a {
  color: var(--gold);
  text-decoration: underline;
}
.club-contacts-when {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--white);
}
.club-contacts-other {
  margin: 28px 0 0;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--muted);
}

/* --- Booking modal states --- */
.quick-modal__backdrop {
  position: absolute;
  inset: 0;
}
.quick-modal__error {
  margin: 0 0 12px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: rgba(255, 77, 77, 0.12) !important;
  border: 1px solid rgba(255, 77, 77, 0.45) !important;
  color: #ffb3b3 !important;
  font-family: var(--font-family) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.quick-modal__error[hidden] {
  display: none !important;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .upcoming-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .upcoming-card { scroll-snap-align: start; }
  .upcoming-card-day { font-size: 22px; }
  .host-name { font-size: 26px; }
  .hosts-grid { gap: 24px; }
  .host-photo { width: 70%; }
}

/* --- FAQ: the base theme fixes the block height for 7 questions; let it grow --- */
.faq-wrapper,
#faq,
#faq .faq-inner {
  height: auto !important;
  min-height: 0 !important;
}

/* --- Contacts: one club, normal document flow at every width --- */
#contacts.club-contacts {
  height: auto !important;
  min-height: 0 !important;
  margin: 40px 0 0 !important;
  padding: 60px 0 40px !important;
}
#contacts .club-contacts-inner {
  position: relative;
  width: var(--container, min(1200px, calc(100% - 32px))) !important;
  max-width: 1200px !important;
  height: auto !important;
  margin: 0 auto !important;
}
#contacts .club-contacts-title,
#contacts .club-contacts-list {
  position: static !important;
  top: auto !important;
  left: auto !important;
  max-width: none !important;
}
#contacts .club-contacts-title {
  margin: 0 0 32px !important;
}
#contacts .club-contacts-list {
  width: 100% !important;
  margin: 0 !important;
}
#contacts .club-contacts-item {
  max-width: 520px;
}
@media (min-width: 1024px) {
  #contacts .club-contacts-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    column-gap: 64px;
    align-items: start;
  }
  #contacts .club-contacts-title { grid-column: 1; grid-row: 1 / span 4; }
  #contacts .club-contacts-list,
  #contacts .club-contacts-other { grid-column: 2; }
  #contacts .club-contacts-other { margin-top: 16px; }
}
@media (max-width: 600px) {
  #contacts .club-contacts-inner { width: calc(100% - 28px) !important; }
  #contacts .club-contacts-item { max-width: none; }
}

/* --- Booking modal polish --- */
.quick-modal__title {
  padding-right: 44px !important;          /* keep clear of the close button */
  font-size: clamp(22px, 2.4vw, 28px) !important;
  line-height: 1.15 !important;
  text-wrap: balance;
}
.quick-modal__close {
  top: 14px !important;
  right: 14px !important;
}
.quick-modal label.quick-modal__consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 6px 0 22px !important;
  line-height: 1.35 !important;
  font-size: 13px !important;
}
.quick-modal label.quick-modal__consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0 !important;
}

/* --- Final CTA raccoon: sit fully visible on the footer line (base theme hid ~300px under the footer) --- */
@media (min-width: 601px) {
  .cta-final {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }
  .cta-raccoon {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: min(438px, 70vw) !important;
    max-width: 438px !important;
    margin: 48px auto 0 !important;
    transform: translateX(67px) !important;
    z-index: 4 !important;
  }
  .cta-raccoon-img,
  .cta-raccoon img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
  }
  .site-footer {
    margin-top: 0 !important;
  }
}
@media (min-width: 1025px) {
  /* base theme shifts the CTA content down 200px with `top`, outside the layout flow */
  .cta-inner {
    position: relative !important;
    top: 0 !important;
  }
  .cta-final {
    padding-top: 200px !important;
  }
}

/* --- Private events: title block overlapped the cards on wide screens --- */
@media (min-width: 1025px) {
  #private.private { height: 1340px !important; }
  #private .private-cards { top: 892px !important; }
  #private .private-cta { top: 1200px !important; }
  /* Button is centered with translateX(-50%); hover must keep it, otherwise it jumps right */
  #private .private-cta:hover,
  #private .private-cta:focus-visible { transform: translateX(-50%) translateY(-2px) !important; }
  #private .private-cta:active { transform: translateX(-50%) !important; }
}

/* --- Internal links --- */
.schedule-more { margin: -12px 0 24px; font-family: var(--font-family); font-size: 15px; }
.schedule-more a, .club-contacts-other a { color: var(--gold); text-decoration: underline; }
.footer-pages {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 28px 0 8px; font-family: var(--font-family); font-size: 14px;
}
.footer-pages a { color: var(--muted); text-decoration: none; }
.footer-pages a:hover { color: var(--gold); }

/* --- Inner pages (/raspisanie, /pravila, ...) --- */
.inner-page .page-intro { padding-bottom: 24px; }
.page-hero, .page-body {
  width: var(--container, min(1200px, calc(100% - 32px)));
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero { padding: clamp(140px, 14vw, 190px) 0 16px; }
.page-crumbs { margin-bottom: 18px; font-family: var(--font-family); font-size: 13px; color: var(--muted); }
.page-crumbs a { color: var(--muted); }
.page-crumbs span { margin: 0 6px; }
.page-h1 {
  margin: 0 0 18px; font-family: var(--second-family); font-weight: 500;
  font-size: clamp(38px, 5.5vw, 76px); line-height: 1.02; text-transform: uppercase; color: var(--white);
}
.page-lead, .page-text {
  margin: 0; font-family: var(--font-family); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: #d6d3e0;
}
.page-text + .page-text, .page-text + .page-list, .page-list + .page-text { margin-top: 14px; }
.page-body { padding-bottom: 80px; }
.page-section { padding: 40px 0 8px; }
.page-section.schedule { padding-top: 24px; }
.page-h2 {
  margin: 0 0 20px; font-family: var(--second-family); font-weight: 500;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1; text-transform: uppercase; color: var(--gold);
}
.page-list { margin: 0; padding-left: 22px; font-family: var(--font-family); font-size: 16px; line-height: 1.6; color: #d6d3e0; }
.page-list li + li { margin-top: 8px; }
.page-list b { color: var(--white); }
.page-table { width: 100%; border-collapse: collapse; font-family: var(--font-family); font-size: 15px; }
.page-table th, .page-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.1); }
.page-table th { width: 34%; font-weight: 500; color: var(--gold); white-space: nowrap; }
.page-table td { color: var(--white); }
.page-body a:not(.btn) { color: var(--gold); text-decoration: underline; }
.page-note { margin: 16px 0 0; font-family: var(--font-family); font-size: 14px; line-height: 1.5; color: var(--muted); }
.page-map { overflow: hidden; border-radius: 18px; border: 1px solid rgba(164,73,245,.35); }
.page-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.page-actions { margin: 20px 0 0; }
.page-faq { max-width: none; }
.page-cta {
  margin-top: 56px; padding: 36px 32px; text-align: center; border-radius: 18px;
  border: 1px solid rgba(164,73,245,.35); background: rgba(20,20,24,.72);
}
.page-cta p { margin: 0 auto 24px; max-width: 560px; font-family: var(--font-family); font-size: 15px; line-height: 1.5; color: #d6d3e0; }
.inner-page .rules-media {
  position: relative !important; top: auto !important; left: auto !important; transform: none !important;
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; margin: 0 !important;
  overflow: hidden; border-radius: 18px;
}
.inner-page .rules-media .rules-video-facade,
.inner-page .rules-media iframe { width: 100% !important; height: 100% !important; }
.inner-page .rules-video-poster { width: 100%; height: 100%; object-fit: cover; }
.page-body .upcoming-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 600px) {
  .page-hero, .page-body { width: calc(100% - 28px); }
  .page-table th { white-space: normal; width: 40%; }
  .page-table th, .page-table td { padding: 12px 8px; }
  .page-map iframe { height: 320px; }
  .page-cta { padding: 28px 18px; }
}

/* --- Link fixes: rules "more" link, two contact notes in one grid cell --- */
.rules-more { display: block; margin-top: 14px; color: var(--gold) !important; text-decoration: underline; }
@media (min-width: 1024px) {
  #contacts .club-contacts-other + .club-contacts-other { grid-row: 3; margin-top: 8px; }
}

/* --- Links inside FAQ answers --- */
.faq-item p a { color: var(--gold); text-decoration: underline; }

/* Mobile: group photo sits behind the private-section headline */
@media (max-width: 768px) {
  .private .private-title { font-size: min(60px, 14vw) !important; line-height: 0.98 !important; }
  .private::before {
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    height: calc(min(60px, 14vw) * 10.5 + 120px) !important;
    transform: none !important;
    background: url("../images/corporates.webp") center / auto 100% no-repeat !important;
    filter: brightness(0.62) saturate(1.05) !important;
    opacity: 1 !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%) !important;
    mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%) !important;
  }
}

/* Footer: base theme pins .footer-bottom absolutely while the footer clips overflow — legal line was cut off */
@media (min-width: 1025px) {
  .site-footer { height: auto !important; }
  .site-footer .footer-inner { min-height: 250px !important; }
}
.footer-legal-item--operator .footer-legal-value {
  letter-spacing: 0.02em;
}

/* Booking modal: newcomer discount */
.quick-modal__promo {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 182, 38, 0.45);
  border-radius: 12px;
  background: rgba(242, 182, 38, 0.08);
}
.quick-modal__promo[hidden] { display: none !important; }
.quick-modal__promo-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
}
.quick-modal__promo-text b { color: var(--gold); }
.quick-modal label.quick-modal__newbie {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.quick-modal label.quick-modal__newbie input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}

/* --- Mobile/compat fixes (device audit 2026-10-05) --- */

/* Hero title: wrap and scale instead of clipping nowrap lines on phones */
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(24px, 7.4vw, 40px) !important;
    line-height: 1.08 !important;
  }
  .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
  .hero-title-line,
  .hero-title > .hero-title-line--narrow {
    white-space: normal !important;
    overflow-wrap: break-word;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Tablet portrait: same fix for the hero title (601-900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-title {
    font-size: clamp(36px, 6.4vw, 56px) !important;
    line-height: 1.08 !important;
  }
  .hero-title-line {
    white-space: normal !important;
    overflow-wrap: break-word;
  }
}

/* Booking modals: never taller than the visible viewport; dialog scrolls internally */
.quick-modal {
  overflow: hidden;
}
.quick-modal__dialog {
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}
/* Keep the close button reachable while the dialog content scrolls */
.quick-modal__close {
  position: sticky !important;
  top: 0 !important;
  right: auto !important;
  float: right;
  margin: -20px -14px 0 0 !important;
  z-index: 2;
}
@media (max-height: 520px) {
  .quick-modal__dialog {
    padding: 20px 18px !important;
  }
}

/* CTA subtitle: always inside the viewport */
.cta-subtitle {
  box-sizing: border-box !important;
  max-width: min(500px, 100%) !important;
  overflow-wrap: break-word;
}
.cta-subtitle-line {
  max-width: 100%;
  white-space: normal !important;
}


/* Content photos on inner pages (e.g. /novogodnij-korporativ) */
.page-figure {
  margin: 20px 0 8px;
}
.page-figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 14px;
}

/* Side-by-side content photos */
.page-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 8px;
}
.page-gallery .page-figure {
  flex: 1 1 260px;
  margin: 0;
}

/* --- SEO Single-Copy Responsive Line Breaks (No Duplicate DOM Nodes) --- */
.br-mob {
  display: none;
}
.br-desk {
  display: inline;
}
.hero-lead-line--wide,
.experience-copy-line--wide,
.experience-point-line--wide,
.feature-headline-line--wide,
.audience-title-line--wide,
.audience-title-line--default,
.audience-item-line--wide,
.private-title-line--desk,
.cta-title-line--wide,
.cta-subtitle-line--wide {
  display: block !important;
}

@media (max-width: 768px) {
  .br-mob {
    display: inline;
  }
  .br-desk {
    display: none;
  }
  .hero-lead-line--wide,
  .experience-copy-line--wide,
  .experience-point-line--wide,
  .feature-headline-line--wide,
  .audience-item-line--wide,
  .cta-title-line--wide,
  .cta-subtitle-line--wide {
    white-space: normal !important;
  }
}

/* --- Reviews Summary & Category Cards on /otzyvy --- */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin: 0 0 28px;
  border-radius: 18px;
  border: 1px solid rgba(242, 182, 38, 0.45);
  background: linear-gradient(135deg, rgba(30, 22, 42, 0.9) 0%, rgba(20, 16, 28, 0.85) 100%);
}
.reviews-summary__score {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-summary__num {
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.reviews-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reviews-summary__stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.reviews-summary__count {
  font-family: var(--font-family);
  font-size: 14px;
  color: #d6d3e0;
}
.reviews-summary__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.reviews-summary__pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(164, 73, 245, 0.45);
  background: rgba(164, 73, 245, 0.14);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--font-family);
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.reviews-summary__pill:hover {
  background: rgba(164, 73, 245, 0.32);
  border-color: var(--gold);
}
.review-card__badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(164, 73, 245, 0.2);
  border: 1px solid rgba(164, 73, 245, 0.4);
  color: #e2d4f8;
  width: fit-content;
}

/* --- Inner Page Cards Grid & B2B Section --- */
.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0 8px;
}
.page-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(164, 73, 245, 0.32);
  background: rgba(20, 20, 26, 0.72);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-card__title {
  margin: 0;
  font-family: var(--second-family);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}
.page-card__price {
  margin: 0;
  font-family: var(--second-family);
  font-size: 20px;
  color: #fff;
}
.page-card__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.55;
  color: #d6d3e0;
}
.page-h3 {
  margin: 22px 0 10px;
  font-family: var(--second-family);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

/* --- Mobile Menu Formats Subnav --- */
.site-menu-modal__subnav {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.site-menu-modal__subnav a {
  font-family: var(--font-family) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: var(--gold) !important;
  text-decoration: none !important;
  text-transform: none !important;
}
.site-menu-modal__subnav a:hover {
  text-decoration: underline !important;
}

/* --- Interactive Mini Calculator on Inner Commercial Pages --- */
.mini-calc {
  margin: 26px 0;
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 42, 0.45);
  background: linear-gradient(145deg, rgba(28, 18, 42, 0.92), rgba(16, 14, 22, 0.96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.mini-calc__title {
  margin: 0 0 6px;
  font-family: var(--second-family);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.mini-calc__sub {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 15px;
  color: #c8c4d6;
}
.mini-calc__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}
.mini-calc__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mini-calc__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-calc__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
  font-size: 14px;
  color: #d8d5e4;
}
.mini-calc__badge {
  font-family: var(--second-family);
  font-size: 20px;
  color: var(--gold);
  background: rgba(212, 168, 42, 0.14);
  border: 1px solid rgba(212, 168, 42, 0.4);
  padding: 2px 12px;
  border-radius: 99px;
}
.mini-calc__slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-calc__step {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mini-calc__step:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.mini-calc__range {
  flex: 1;
  accent-color: #a449f5;
  height: 6px;
  cursor: pointer;
}
.mini-calc__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-calc__pill {
  flex: 1 1 160px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #dcd9e8;
  font-family: var(--font-family);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.mini-calc__pill.is-active {
  border-color: var(--gold);
  background: rgba(212, 168, 42, 0.16);
  color: #fff;
  font-weight: 600;
}
.mini-calc__result {
  padding: 20px;
  border-radius: 16px;
  background: rgba(12, 10, 18, 0.85);
  border: 1px solid rgba(164, 73, 245, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.mini-calc__price-label {
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b8b3c8;
}
.mini-calc__total {
  margin: 2px 0 0;
  font-family: var(--second-family);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--gold);
  line-height: 1.05;
}
.mini-calc__per-guest {
  margin: 4px 0 0;
  font-family: var(--font-family);
  font-size: 14px;
  color: #e2dfec;
}
.mini-calc__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.45;
  color: #bdb8cc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-calc__btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .mini-calc {
    padding: 20px 16px;
  }
  .mini-calc__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* --- 3-Photo Gallery & Host Cards on Commercial Pages --- */
.page-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.page-photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
}
.page-hosts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.page-host-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20, 20, 28, 0.78);
  border: 1px solid rgba(212, 168, 42, 0.32);
}
.page-host-card__img {
  width: 68px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(212, 168, 42, 0.45);
}
.page-host-card__name {
  margin: 0 0 4px;
  font-family: var(--second-family);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--gold);
}
.page-host-card__role {
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.4;
  color: #d4d0e0;
}
.quick-modal__alt-tg {
  margin: 12px 0 4px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 13px;
  color: #c8c4d6;
}
.quick-modal__alt-tg a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .page-photo-grid {
    grid-template-columns: 1fr;
  }
  .page-photo-grid img {
    height: 200px;
  }
  .page-hosts-grid {
    grid-template-columns: 1fr;
  }
}
