@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@700;800;900&family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@600&family=Onest:wght@700&family=Underdog&family=Oranienbaum&family=Rubik+Wet+Paint&display=swap');
:root{--page-gutter:clamp(36px,3.2vw,80px);color-scheme:dark;--bg:#1b1b19;--ivory:#f7edda;--gold:#e3b66d;--muted:#bdb5a5;--line:#716957}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--ivory);font-family:Manrope,Arial,sans-serif;font-size:16px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}.wrap{width:calc(100% - var(--page-gutter) * 2);margin-inline:auto}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:26px;font-size:30px;font-weight:800;letter-spacing:.02em}.brand img{width:90px;height:76px;object-fit:contain}nav{display:flex;align-items:center;gap:54px}nav>a,.nav-link{font-size:20px}.nav-link{background:none;border:0;padding:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:60px;padding:14px 30px;border:1px solid #e4bb7c;border-radius:5px;background:linear-gradient(115deg,#ebc37e,#d9ab65);color:#221d14;font-size:19px;font-weight:800;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 25px #e0a34a20}.button span{font-size:30px;line-height:1}.header-book{min-height:52px;padding:12px 25px;font-size:18px}.secondary{background:transparent;border-color:#dacfb9;color:var(--ivory);font-weight:500}.hero{position:relative;min-height:calc(100svh - 100px);display:flex;flex-direction:column;justify-content:center;padding-top:65px;isolation:isolate}.hero:before{content:'';position:absolute;z-index:-2;inset:0 calc(-1 * var(--page-gutter));background:radial-gradient(ellipse at 0% 87%,#81521e32,transparent 38%);pointer-events:none}.hero-copy{position:relative;z-index:2;width:58%;padding-bottom:70px}.eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:14px;font-weight:700;display:flex;align-items:center;gap:18px;margin:0 0 28px}.rule{height:1px;flex:1;background:linear-gradient(90deg,#a28a61,transparent)}.cross{width:27px;height:27px;position:relative;flex-shrink:0}.cross:before,.cross:after{content:'';position:absolute;background:var(--gold)}.cross:before{width:1px;height:27px;left:13px}.cross:after{height:1px;width:27px;top:13px}h1{font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif;font-weight:900;font-size:clamp(76px,8.9vw,136px);line-height:1.02;letter-spacing:-.035em;text-transform:uppercase;margin:0 0 22px}h1 span{display:block}h1 .last-line{font-size:.76em;letter-spacing:-.04em;white-space:nowrap}.gold{color:var(--gold)}.intro{font-size:clamp(17px,1.55vw,23px);line-height:1.5;max-width:760px;margin:0 0 34px}.actions{display:flex;gap:22px;flex-wrap:wrap}.hero-art{position:absolute;z-index:-1;right:calc(-1 * var(--page-gutter));top:0;bottom:90px;width:62%;overflow:hidden;pointer-events:none;mask-image:linear-gradient(90deg,transparent 0%,#000 22%)}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:60% center;mask-image:linear-gradient(0deg,transparent,#000 14%,#000 96%,transparent);opacity:.98}.evidence{position:absolute;right:31%;bottom:19%;font-family:Oswald,sans-serif;font-size:22px;letter-spacing:.04em;background:#cfaa73;color:#33281c;transform:rotate(-8deg);padding:10px 22px;box-shadow:0 5px 20px #0007}.scroll-row{position:relative;display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);padding:27px 0 30px;margin-top:auto}.scroll-label{font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;white-space:nowrap}.scroll-note{border-left:1px solid #ae8b51;padding-left:30px;font-size:15px}.scroll-action{margin-left:auto;display:flex;align-items:center;gap:16px;white-space:nowrap;font-size:14px}.circle{width:42px;height:42px;border:1px solid var(--ivory);border-radius:50%;display:grid;place-items:center;font-size:30px;transition:transform .25s}.scroll-row:hover .circle{transform:translateY(4px)}.about{padding-block:120px;display:grid;grid-template-columns:1fr 1fr;gap:0 80px}.about>.eyebrow{grid-column:1/-1;color:var(--gold)}h2{font-family:Onest,Arial,sans-serif;font-size:clamp(34px,3.7vw,56px);line-height:1.12;margin:0;font-weight:700}.about-copy{font-size:18px;color:var(--muted);line-height:1.8}.about-copy p:first-child{margin-top:0}.text-link{color:var(--gold);border-bottom:1px solid;padding-bottom:7px;display:inline-flex;gap:30px}.quests{padding-bottom:100px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.filters{display:flex;gap:8px}.filters button{border:1px solid #61594c;background:none;padding:10px 17px;border-radius:4px}.filters button[aria-pressed=true]{background:var(--gold);color:#211c14;border-color:var(--gold)}.quest-list{border-top:1px solid var(--line)}.quest{display:flex;align-items:center;gap:35px;text-align:left;width:100%;padding:27px 15px;background:none;border:0;border-bottom:1px solid #514d42;transition:background .2s}.quest:hover{background:#dcb4770a}.quest-number{font-size:13px;color:#a58a60}.quest small{display:block;letter-spacing:.15em;text-transform:uppercase;font-size:10px;color:var(--muted);margin-bottom:6px}.quest strong{font-size:28px;font-weight:600}.quest-arrow{margin-left:auto;color:var(--gold);font-size:30px}.quest[hidden]{display:none}.footer{border-top:1px solid var(--line);padding-block:28px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);gap:24px}.footer .brand{font-size:20px;color:var(--gold)}.footer span{font-size:13px}.skip{position:fixed;top:-100px;z-index:20;background:var(--gold);color:#000;padding:15px}.skip:focus{top:10px}.menu-toggle{display:none}dialog{background:#24231f;color:var(--ivory);border:1px solid #88704d;border-radius:8px;padding:45px;max-width:560px;width:calc(100% - 32px);box-shadow:0 30px 120px #0009}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}dialog h2{font-size:36px;margin-bottom:22px}dialog p{line-height:1.7;color:var(--muted)}dialog .eyebrow{font-size:10px;color:var(--gold)}.dialog-close{position:absolute;right:16px;top:10px;border:0;background:none;font-size:30px}.dialog-options{display:grid;gap:8px}.dialog-options button{background:#ffffff05;border:1px solid #776346;text-align:left;padding:12px 15px;border-radius:4px}.dialog-options button:hover{background:#dcb47718}
@media(min-width:1500px){.hero{padding-top:65px}.hero-copy{padding-bottom:80px}}@media(max-width:1150px){:root{--page-gutter:28px}nav{gap:26px}.brand{font-size:24px;gap:15px}.brand img{width:72px}nav>a,.nav-link{font-size:16px}.header-book{font-size:15px;padding:12px 18px}.hero{padding-top:55px}.hero-copy{width:63%}.hero-art{right:calc(-1 * var(--page-gutter))}.eyebrow{font-size:11px}.button{font-size:16px;padding:13px 22px;gap:18px}.scroll-note{display:none}.about{gap:0 40px}.section-heading{align-items:start;flex-direction:column}}@media(max-width:760px){:root{--page-gutter:18px}.header{height:80px}.brand img{width:62px;height:60px}.brand{font-size:23px}.menu-toggle{display:flex;flex-direction:column;gap:7px;background:none;border:1px solid #70634c;border-radius:4px;padding:13px}.menu-toggle span{display:block;width:23px;height:1px;background:var(--ivory)}nav{display:none;position:absolute;top:79px;left:-18px;right:-18px;background:#24231f;padding:25px;box-shadow:0 15px 25px #0008;align-items:stretch;gap:25px}nav.open{display:flex;flex-direction:column}nav>a,.nav-link{font-size:18px;text-align:left}.hero{padding-top:36px;min-height:calc(100svh - 80px)}.hero-copy{width:100%;padding-bottom:35px}.hero-copy .eyebrow{font-size:10px;gap:11px;letter-spacing:.17em;margin-bottom:22px}h1{font-size:clamp(67px,15vw,110px);max-width:100%}h1 .last-line{font-size:.7em}.intro{font-size:16px;max-width:470px;margin-bottom:25px}.hero-art{width:100%;height:560px;top:-15px;right:-18px;bottom:auto;opacity:.25;mask-image:linear-gradient(90deg,transparent,#000)}.hero-art img{object-position:75% center}.evidence{display:none}.actions{gap:12px}.actions .button{min-height:51px;font-size:14px;padding:11px 18px}.scroll-row{padding:20px 0;gap:10px}.scroll-label{font-size:9px;letter-spacing:.13em;white-space:normal;max-width:170px}.scroll-action{font-size:11px;gap:10px}.circle{width:32px;height:32px;font-size:24px}.about{padding-block:70px;grid-template-columns:1fr;gap:25px}.about>.eyebrow{margin:0}.about-copy{font-size:16px}.quests{padding-bottom:65px}.quest{gap:20px;padding:22px 5px}.quest strong{font-size:22px}.footer{flex-wrap:wrap}.footer span{display:none}dialog{padding:35px 24px}.hero:before{inset:0 -18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Navigation feedback: animate decoration without shifting the layout. */
.header nav > a,
.header .nav-link {
  position: relative;
  transition: color 220ms ease, text-shadow 220ms ease;
}
.header nav > a::after,
.header .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 8px #e3b66d55;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.header nav > a:focus-visible,
.header .nav-link:focus-visible {
  color: var(--gold);
}
.header nav > a:focus-visible::after,
.header .nav-link:focus-visible::after {
  transform: scaleX(1);
}
@media (hover: hover) {
  .header nav > a:hover,
  .header .nav-link:hover {
    color: var(--gold);
    text-shadow: 0 0 16px #e3b66d33;
  }
  .header nav > a:hover::after,
  .header .nav-link:hover::after {
    transform: scaleX(1);
  }
}

/* Dedicated quest catalog page. */
.catalog-page { background: radial-gradient(ellipse at 95% 10%, #ad74301a, transparent 45%); }
.catalog-intro { padding-block: 55px 45px; }
.catalog-intro > .text-link { margin-bottom: 42px; font-size: 14px; }
.catalog-intro h1 { font-size: clamp(42px, 6vw, 86px); line-height: 1.1; margin-bottom: 24px; }
.catalog-intro .intro { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.header nav > a[aria-current="page"] { color: var(--gold); }
.header nav > a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .catalog-intro { padding-block: 35px; }
  .catalog-intro > .text-link { margin-bottom: 32px; }
}

/* Social marks follow the graphite and antique-gold palette. */
.footer-socials { display:flex; align-items:center; gap:12px; }
.social-icon {
  display:grid; place-items:center; width:44px; height:44px; padding:10px;
  background:transparent; border:1px solid #766344; border-radius:50%;
  color:var(--gold); transition:color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.social-icon svg { display:block; width:23px; height:23px; }
.social-icon:focus-visible { background:#e3b66d14; border-color:var(--gold); }
@media (hover:hover) {
  .social-icon:hover { color:var(--ivory); background:#e3b66d14; border-color:var(--gold); box-shadow:0 0 18px #e3b66d20; transform:translateY(-3px); }
}
@media (max-width:760px) {
  .footer-socials { gap:9px; }
  .social-icon { width:40px; height:40px; padding:8px; }
}

.social-icon .social-mark { display:block; width:23px; height:23px; object-fit:contain; }

.social-icon .social-mark-max {
  background-color: currentColor;
  -webkit-mask: url('assets/max.svg') center / contain no-repeat;
  mask: url('assets/max.svg') center / contain no-repeat;
}

/* Services are the first section after the welcome screen. */
.services { padding-block:90px 65px; }
.services-heading { display:flex; justify-content:space-between; align-items:end; gap:28px; margin-bottom:36px; }
.services-heading .eyebrow { color:var(--gold); margin-bottom:16px; }
.services-heading > p { max-width:290px; margin:0; color:var(--muted); line-height:1.7; }
.services-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.service-card { display:flex; flex-direction:column; min-width:0; padding:26px 20px 20px; text-align:left; border:1px solid #61523b; border-radius:6px; background:radial-gradient(ellipse at 100% 0%,#b7853415,transparent 75%),#22221f; color:var(--ivory); transition:transform 240ms ease,border-color 240ms ease,box-shadow 240ms ease; }
.service-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; color:var(--gold); }
.service-top svg { width:40px; height:40px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.service-number { font-size:11px; letter-spacing:.15em; color:#b39b75; }
.service-card h3 { font-family:'Roboto Condensed',Arial,sans-serif; font-size:26px; font-weight:700; line-height:1.15; margin:0 0 16px; overflow-wrap:break-word; }
.service-card p { font-size:14px; line-height:1.7; margin:0 0 28px; color:var(--muted); }
.service-bottom { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; padding-top:18px; border-top:1px solid #61523b; color:var(--gold); font-size:13px; }
.service-bottom > span { font-size:22px; transition:transform 240ms ease; }
@media(hover:hover) { .service-card:hover { transform:translateY(-5px); border-color:var(--gold); box-shadow:0 12px 30px #0003; } .service-card:hover .service-bottom > span { transform:translate(2px,-2px); } }
@media(max-width:1150px) { .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .services { padding-block:60px 25px; } .services-heading { align-items:start; flex-direction:column; gap:18px; } .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .service-card { padding:22px 16px 18px; } .service-card h3 { font-size:24px; } }
@media(max-width:480px) { .services-grid { grid-template-columns:1fr; } .service-card { padding:24px; } .service-top { margin-bottom:18px; } .service-card p { margin-bottom:18px; } }

/* Directional arrow feedback on the primary calls to action. */
.actions > a.button[href="quests.html"] > span,
.header-book > span {
  display:inline-block;
  transition:transform 260ms cubic-bezier(.2,.7,.3,1);
}
.actions > a.button[href="quests.html"]:focus-visible > span {
  transform:translateX(6px);
}
.header-book:focus-visible > span {
  transform:translate(4px,-4px);
}
@media (hover:hover) {
  .actions > a.button[href="quests.html"]:hover > span {
    transform:translateX(6px);
  }
  .header-book:hover > span {
    transform:translate(4px,-4px);
  }
}
@media (prefers-reduced-motion:reduce) {
  .actions > a.button[href="quests.html"] > span,
  .header-book > span { transform:none!important; }
}

/* A warm accent makes the package offering easy to find. */
.service-card-package {
  border-color:var(--gold);
  background:radial-gradient(ellipse at 80% 0%,#e3b66d25,transparent 75%),linear-gradient(145deg,#30291f,#22221f);
  box-shadow:inset 0 1px 0 #f8dfae33,0 0 28px #e3b66d0b;
}
.service-card-package h3 { color:var(--gold); }
.service-badge {
  padding:6px 9px;
  border:1px solid #e3b66d55;
  border-radius:3px;
  color:var(--gold);
  background:#e3b66d10;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
}
.service-card-package .service-bottom { border-color:#e3b66d66; }
@media (hover:hover) {
  .service-card-package:hover { box-shadow:inset 0 1px 0 #f8dfae44,0 10px 35px #e3b66d18; }
}

.package-feature {
  width:100%; display:flex; align-items:center; gap:28px; text-align:left;
  margin-bottom:24px; padding:32px; border:1px solid var(--gold); border-radius:6px;
  color:var(--ivory); background:radial-gradient(ellipse at 85% 50%,#e3b66d1c,transparent 65%),linear-gradient(115deg,#342b20,#22221f);
  box-shadow:inset 0 1px 0 #f8dfae33;
  transition:transform 240ms ease,box-shadow 240ms ease;
}
.package-feature-icon { display:grid; place-items:center; flex-shrink:0; width:80px; height:80px; color:var(--gold); border:1px solid #e3b66d40; border-radius:50%; }
.package-feature-icon svg { width:42px; height:42px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
.package-feature-copy { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.package-feature-title { font-family:'Roboto Condensed',Arial,sans-serif; font-size:34px; line-height:1.15; font-weight:700; color:var(--gold); }
.package-feature-description { font-size:15px; line-height:1.6; color:var(--muted); }
.package-feature-action { margin-left:auto; display:flex; align-items:center; gap:24px; font-size:15px; color:var(--gold); }
.package-feature-action > span { font-size:32px; transition:transform 240ms ease; }
@media(hover:hover) { .package-feature:hover { transform:translateY(-3px); box-shadow:0 10px 35px #e3b66d15; } .package-feature:hover .package-feature-action > span { transform:translateX(6px); } }
@media(max-width:760px) {
  .package-feature { padding:24px; gap:20px; flex-wrap:wrap; }
  .package-feature-icon { width:54px; height:54px; }
  .package-feature-icon svg { width:30px; height:30px; }
  .package-feature-copy { flex:1; min-width:0; }
  .package-feature-title { font-size:27px; }
  .package-feature-action { width:100%; margin:0; justify-content:space-between; border-top:1px solid #e3b66d40; padding-top:16px; }
}

/* Keep the expanded navigation comfortable on laptop screens. */
.header nav { gap:clamp(20px,2.5vw,48px); }
@media (min-width:761px) and (max-width:1100px) {
  .header .brand { gap:10px; font-size:20px; }
  .header .brand img { width:58px; }
  .header nav { gap:16px; }
  .header nav > a, .header .nav-link { font-size:14px; }
  .header-book { font-size:14px; padding:10px 14px; gap:12px; }
}
@media (min-width:761px) and (max-width:900px) {
  .header { height:auto; min-height:100px; flex-wrap:wrap; gap:8px; padding-block:10px; }
  .header nav { width:100%; justify-content:space-between; }
}

/* Empty package page keeps the shared footer at the bottom of the window. */
.packages-page { min-height:100svh; display:flex; flex-direction:column; }
.packages-page > .header, .packages-page > .footer { flex-shrink:0; }
.packages-page > .empty-page { flex:1; }

/* Horror posters: equal prominence, original square artwork without cropping. */
.horror-catalog { background:radial-gradient(ellipse at 95% 10%,#804c2418,transparent 42%),var(--bg); }
.horror-catalog .catalog-intro { padding-bottom:48px; }
.quest-directions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.quest-directions a { display:inline-flex; align-items:center; gap:30px; padding:16px 22px; border:1px solid #655743; border-radius:4px; font-size:15px; transition:background .2s,border-color .2s; }
.quest-directions a span { font-size:12px; color:var(--gold); }
.quest-directions .direction-horror { border-color:#bd975c; background:#e3b66d0c; }
.quest-directions a:hover { background:#e3b66d15; border-color:var(--gold); }
.horror-section { padding-bottom:85px; }
.horror-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:32px; border-top:1px solid #61523b; padding-top:36px; }
.horror-heading .eyebrow { font-size:11px; color:var(--gold); margin-bottom:14px; }
.horror-heading > p { max-width:390px; margin:0; font-size:15px; line-height:1.7; color:var(--muted); }
.horror-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.horror-card { min-width:0; border:1px solid #584d3d; border-radius:7px; overflow:hidden; background:linear-gradient(145deg,#27251f,#20211e); transition:border-color 240ms ease,box-shadow 240ms ease,transform 240ms ease; }
.horror-poster { position:relative; display:block; width:100%; padding:0; border:0; background:#141413; aspect-ratio:1; overflow:hidden; }
.horror-poster img { display:block; width:100%; height:100%; object-fit:contain; }
.poster-open { position:absolute; bottom:16px; left:16px; right:16px; padding:12px; border:1px solid #e3b66d66; border-radius:3px; background:#191815ed; color:var(--ivory); font-size:13px; opacity:0; transform:translateY(8px); transition:opacity 240ms ease,transform 240ms ease; }
.horror-card-body { padding:24px; }
.horror-label { display:flex; justify-content:space-between; margin:0 0 12px; text-transform:uppercase; letter-spacing:.18em; color:var(--gold); font-size:10px; }
.horror-card h3 { font-family:'Roboto Condensed',Arial,sans-serif; font-size:clamp(25px,2vw,38px); font-weight:700; line-height:1.2; margin:0 0 24px; }
/* Цена и длительность прямо в карточке — чтобы сравнить квесты, не открывая каждый */
.horror-meta { display:flex; flex-wrap:wrap; gap:8px; margin:-12px 0 20px; }
.horror-meta span { padding:5px 11px; border:1px solid #66553c; border-radius:999px; color:var(--ivory); font-size:13px; font-weight:600; white-space:nowrap; }
.horror-meta span:last-child { border-color:#8a6a3c; background:#e3b66d14; color:var(--gold); }
.horror-detail { display:flex; width:100%; justify-content:space-between; align-items:center; gap:12px; background:none; border:0; border-top:1px solid #65543a; padding:18px 0 0; color:var(--gold); text-align:left; font-size:13px; }
.horror-detail span { font-size:26px; transition:transform 240ms ease; }
.horror-poster:focus-visible { outline-offset:-4px; }
.horror-poster:focus-visible .poster-open { opacity:1; transform:none; }
@media(hover:hover) { .horror-card:hover { border-color:#c6a26a; box-shadow:0 14px 35px #0005; transform:translateY(-4px); } .horror-poster:hover .poster-open { opacity:1; transform:none; } .horror-detail:hover span { transform:translateX(5px); } }
@media(max-width:1250px) { .horror-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .horror-card h3 { font-size:32px; } }
@media(max-width:760px) { .horror-heading { align-items:start; flex-direction:column; gap:20px; } .horror-section { padding-bottom:50px; } .horror-grid { gap:16px; } .horror-card-body { padding:18px; } .horror-card h3 { font-size:25px; } .quest-directions { width:100%; position:static; padding:0; box-shadow:none; background:none; flex-direction:row; } .quest-directions a { flex:1; justify-content:space-between; padding:14px; gap:12px; font-size:13px; } }
@media(max-width:540px) { .horror-grid { grid-template-columns:1fr; } .horror-card h3 { font-size:30px; } .horror-card-body { padding:24px; } .quest-directions a { flex-basis:100%; } }

/* Quest detail: poster, readable story and team pricing. */
.quest-product { padding-block:42px 90px; }
.product-back { font-size:14px; margin-bottom:36px; }
.product-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,5vw,90px); align-items:start; }
.product-visual img { display:block; width:100%; height:auto; border:1px solid #67563c; border-radius:6px; }
.product-visual > p { text-align:center; color:var(--muted); font-size:14px; letter-spacing:.04em; padding:12px; }
.product-summary > .eyebrow { color:var(--gold); margin-bottom:16px; }
.product-summary h1 { font-size:clamp(64px,7vw,112px); margin-bottom:16px; }
.product-summary h1 span { display:inline; }
.product-lead { font-size:clamp(21px,2vw,30px); line-height:1.45; margin:0 0 28px; }
.product-facts { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #65543b; border-bottom:1px solid #65543b; margin:0 0 28px; padding-block:22px; gap:20px; }
.product-facts dt { color:var(--muted); font-size:12px; margin-bottom:8px; }
.product-facts dd { margin:0; font-size:21px; font-weight:700; }
.price-panel { border:1px solid #8c7046; border-radius:6px; background:radial-gradient(ellipse at 100% 0%,#e3b66d12,transparent 80%),#24231f; padding:28px; }
.price-panel .eyebrow { font-size:10px; line-height:1.6; margin-bottom:14px; color:var(--gold); }
.base-price { font-size:32px; font-weight:800; color:var(--gold); }
.base-price span { display:block; font-size:14px; font-weight:400; color:var(--ivory); margin-top:5px; }
.price-note { font-size:13px; line-height:1.75; color:var(--muted); }
.price-controls { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-block:18px; border-top:1px solid #61523b; font-size:14px; }
.price-controls select { font:inherit; color:var(--ivory); background:#1b1b19; border:1px solid #9b8155; border-radius:4px; padding:10px; max-width:50%; }
.contact-option { display:flex; align-items:center; gap:12px; cursor:pointer; font-size:14px; padding:16px 0; }
.contact-option input { accent-color:var(--gold); width:20px; height:20px; flex-shrink:0; }
.contact-option small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.contact-option strong { margin-left:auto; color:var(--gold); white-space:nowrap; }
.price-total { display:flex; justify-content:space-between; align-items:center; gap:15px; border-top:1px solid #61523b; padding-top:22px; font-size:14px; }
.price-total output { color:var(--gold); font-size:30px; font-weight:800; white-space:nowrap; }
.product-book { width:100%; margin-top:10px; font-size:16px; }
.booking-note { font-size:12px; text-align:center; color:var(--muted); line-height:1.6; margin-bottom:0; }
.product-story { margin-top:80px; padding-top:50px; border-top:1px solid #61523b; display:grid; grid-template-columns:1fr 1.2fr; gap:clamp(30px,6vw,100px); }
.product-story .eyebrow { color:var(--gold); }
.story-number { display:block; font-family:Oswald,sans-serif; font-size:160px; line-height:1.2; color:#e3b66d0e; margin-top:30px; }
.story-text { max-width:760px; color:var(--muted); font-size:17px; line-height:1.9; }
.story-text p { margin:0 0 23px; }.story-text .story-opening { color:var(--ivory); font-size:22px; line-height:1.6; }
/* Истории на страницах квестов — шрифтом Oswald (анимации и спектакль остаются на основном шрифте) */
body[data-book-kind="quest"] .story-text { font-family:Oswald,'Roboto Condensed','Arial Narrow',sans-serif; font-weight:400; font-size:19px; line-height:1.75; letter-spacing:.012em; }
body[data-book-kind="quest"] .story-text .story-opening { font-weight:500; font-size:25px; line-height:1.45; letter-spacing:.005em; }
body[data-book-kind="quest"] .story-text strong { font-weight:600; }
body[data-book-kind="quest"] .story-text .text-link { font-family:Manrope,Arial,sans-serif; }
@media(max-width:760px) { body[data-book-kind="quest"] .story-text { font-size:18px; } body[data-book-kind="quest"] .story-text .story-opening { font-size:22px; } }
.story-text strong { color:var(--gold); }.redacted { background:#0f100e; color:var(--gold); padding:1px 6px; letter-spacing:.12em; }
.booking-socials { display:flex; flex-wrap:wrap; gap:12px; margin-top:25px; }.booking-socials .button { font-size:14px; padding:12px 16px; min-height:44px; }
@media(min-width:1400px) { .product-visual { max-width:720px; } }
@media(max-width:900px) { .product-layout { gap:28px; }.price-panel { padding:20px; }.product-facts dd { font-size:17px; }.product-summary > .eyebrow { font-size:10px; }.product-summary h1 { font-size:64px; } }
@media(max-width:760px) { .product-layout,.product-story { grid-template-columns:1fr; }.product-visual { max-width:520px; width:100%; margin:auto; }.product-story { margin-top:50px; padding-top:35px; gap:25px; }.story-number { display:none; }.product-facts dd { font-size:20px; }.quest-product { padding-top:28px; }.story-text { font-size:16px; } }

.product-summary h1.product-title-long {
  font-size:clamp(38px,4.6vw,76px);
  letter-spacing:-.04em;
  color:var(--gold);
  overflow-wrap:anywhere;
}
@media(max-width:760px) {
  .product-summary h1.product-title-long { font-size:clamp(34px,8.6vw,60px); }
}

/* Package catalog: typography-led cards until real photos and contents arrive. */
.offers-main { flex:1; padding-block:60px 80px; }
.offers-welcome { display:grid; grid-template-columns:1.2fr 1fr; align-items:end; gap:60px; padding-bottom:45px; border-bottom:1px solid #65543b; }
.offers-welcome .eyebrow { color:var(--gold); margin-bottom:18px; }
.offers-welcome h1 { font-size:clamp(42px,4.5vw,70px); line-height:1.1; margin:0; }
.offers-welcome > p { max-width:460px; justify-self:end; font-size:17px; line-height:1.8; color:var(--muted); margin:0; }
.offers-section { padding-top:40px; }
.offers-section-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:28px; }
.offers-section-heading h2 { font-size:clamp(28px,2.6vw,40px); }
.offers-section-heading > span { color:var(--muted); font-size:13px; }
.offers-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.offer-card { display:flex; flex-direction:column; min-width:0; padding:26px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 100% 0%,#d9ae6514,transparent 75%),#23231f; transition:border-color 220ms ease,box-shadow 220ms ease; }
.offer-kicker { display:flex; justify-content:space-between; align-items:center; gap:10px; color:var(--muted); text-transform:uppercase; letter-spacing:.12em; font-size:9px; margin-bottom:26px; }
.offer-index { color:var(--gold); font-size:13px; }
.offer-card h2 { font-size:clamp(26px,2vw,34px); line-height:1.15; min-height:2.3em; margin-bottom:28px; overflow-wrap:break-word; }
.offer-prices { margin:auto 0 0; }
.offer-prices > div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:16px; border-top:1px solid #5c503e; }
.offer-prices > div:last-child { padding-bottom:0; }
.offer-prices dt { color:var(--muted); font-size:12px; letter-spacing:.08em; white-space:nowrap; }
.offer-prices dd { margin:0; font-size:clamp(21px,1.7vw,28px); color:var(--gold); font-weight:700; white-space:nowrap; }
.offers-footnote { font-size:13px; line-height:1.8; color:var(--muted); margin:25px 0 0; }
@media(hover:hover) { .offer-card:hover { border-color:#b99a64; box-shadow:0 8px 30px #0003; } }
/* Блок «Мафия/Бункер выгоднее в пакете» на странице пакетов */
.games-deal { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr); gap:36px; align-items:center; margin-top:28px; padding:30px 34px; border:1px solid #7a2e33; border-radius:6px;
  background:radial-gradient(ellipse at 0% 0%,#8f101826,transparent 60%),radial-gradient(ellipse at 100% 100%,#e3b66d14,transparent 60%),#221d1c; }
.games-deal .eyebrow { color:var(--gold); margin:0 0 10px; }
.games-deal h2 { font-size:clamp(24px,2.3vw,32px); line-height:1.2; margin:0 0 14px; }
.games-deal-text > p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.7; margin:0 0 12px; }
.games-deal-prices { display:grid; gap:0; margin:0; }
.games-deal-prices > div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:12px 0; border-top:1px solid #5c3a3a; }
.games-deal-prices > div:first-child { border-top:0; }
.games-deal-prices dt { color:var(--muted); font-size:14px; }
.games-deal-prices dd { margin:0; font-weight:800; font-size:20px; white-space:nowrap; }
.games-deal-prices s { color:var(--muted); font-weight:600; }
.games-deal-best dd { color:var(--gold); font-size:28px; }
.games-deal-prices > div:last-child dd { color:#7fd49a; }
.host-game-deal { margin:12px 0 0 !important; padding:10px 12px; border-radius:5px; background:#e3b66d14; color:var(--ivory) !important; font-size:14px !important; }
.host-game-deal b { color:var(--gold); }
@media(max-width:900px) { .games-deal { grid-template-columns:1fr; gap:18px; padding:24px; } }

/* «Космический отдых» — самый популярный пакет: золотая рамка, мягкое свечение и плашка */
.offer-card-popular { border-color:#d9ab65; background:radial-gradient(ellipse at 100% 0%,#e3b66d30,transparent 70%),radial-gradient(ellipse at 0% 100%,#e3b66d12,transparent 60%),#27241d;
  box-shadow:0 0 0 1px #e3b66d55, 0 14px 40px #e3b66d1a; }
.offer-card-popular h2 { color:var(--gold); }
.offer-popular-badge { display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border-radius:3px; background:linear-gradient(115deg,#ebc37e,#d9ab65); color:#221d14; font-size:10px; font-weight:800; letter-spacing:.12em; }
@media(hover:hover) { .offer-card-popular:hover { border-color:#f0cd8f; box-shadow:0 0 0 1px #f0cd8f88, 0 16px 44px #e3b66d2b; } }
@media(max-width:1200px) { .offers-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .offers-main { padding-block:38px 55px; }.offers-welcome { grid-template-columns:1fr; gap:24px; padding-bottom:30px; }.offers-welcome > p { justify-self:start; font-size:15px; }.offers-section-heading { align-items:start; flex-direction:column; gap:12px; }.offers-grid { gap:14px; }.offer-card { padding:20px; }.offer-kicker { font-size:8px; letter-spacing:.06em; }.offer-prices dd { font-size:22px; } }
@media(max-width:540px) { .offers-grid { grid-template-columns:1fr; }.offer-card { padding:26px; }.offer-card h2 { min-height:0; }.offer-prices dd { font-size:27px; } }


/* Chosen button typeface: Montserrat SemiBold. */
.button, .filters button, .dialog-options button, .horror-detail,
.service-bottom, .package-feature-action, .quest-directions a {
  font-family:Montserrat,Arial,sans-serif;
  font-weight:600;
}

.quest-audience { display:flex; align-items:center; gap:14px; margin:24px 0 0; color:var(--ivory); font-size:17px; line-height:1.5; }
.age-badge { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; padding:5px 10px; border:1px solid #b29460; border-radius:4px; color:var(--gold); font-size:15px; font-weight:700; background:#e3b66d0c; }
@media(max-width:540px) { .quest-audience { font-size:15px; gap:12px; } }

.section-audience { margin:0 0 26px; }

/* Live Yandex reviews, framed in the site's warm graphite palette. */
.reviews-section { display:grid; grid-template-columns:1fr minmax(0,560px); gap:clamp(36px,7vw,120px); align-items:center; padding-block:65px 100px; border-top:1px solid #61523b; }
.reviews-intro { max-width:640px; }
.reviews-intro .eyebrow { color:var(--gold); font-size:12px; line-height:1.7; }
.reviews-intro h2 { font-size:clamp(36px,4vw,64px); line-height:1.12; }
.reviews-description { margin:26px 0 30px; max-width:510px; font-size:17px; line-height:1.85; color:var(--muted); }
.reviews-intro .button { font-size:15px; }
.reviews-invitation { display:flex; align-items:center; gap:20px; margin-top:35px; }
.reviews-quote { font-family:Georgia,serif; font-size:90px; color:#bc955b; line-height:1; }
.reviews-invitation p { font-size:15px; line-height:1.8; margin:0; }
.reviews-invitation p span { color:var(--muted); font-size:13px; }
.reviews-panel { min-width:0; border:1px solid #9f8050; border-radius:10px; padding:20px; background:radial-gradient(ellipse at 100% 0%,#e3b66d17,transparent 70%),#24231f; box-shadow:0 20px 60px #0003; }
.reviews-panel-heading { display:flex; align-items:center; gap:14px; padding-bottom:20px; }
.reviews-pin { display:grid; place-items:center; width:44px; height:44px; border:1px solid #8d724b; border-radius:50%; color:var(--gold); }
.reviews-pin svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.5; }
.reviews-panel-heading h3 { margin:0 0 4px; font-size:18px; }
.reviews-panel-heading div > span { font-size:12px; color:var(--muted); }
.reviews-panel-heading > a { margin-left:auto; padding:10px; font-size:26px; color:var(--gold); }
.reviews-widget { border-radius:7px; overflow:hidden; background:#fff; color-scheme:light; }
.reviews-widget iframe { display:block; width:100%; height:600px; border:0; }
.reviews-fallback { margin:15px 0 0; font-size:11px; line-height:1.8; color:var(--muted); }
.reviews-fallback a { color:var(--gold); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:1000px) { .reviews-section { gap:32px; grid-template-columns:1fr 1fr; }.reviews-intro .button { padding:14px 18px; gap:14px; font-size:13px; } }
@media(max-width:760px) { .reviews-section { grid-template-columns:1fr; padding-block:45px 65px; }.reviews-intro { max-width:none; }.reviews-panel { width:100%; max-width:560px; justify-self:center; padding:14px; }.reviews-widget iframe { height:550px; }.reviews-description { font-size:16px; }.reviews-invitation { margin-top:24px; } }

a[href^="tel:"] { white-space:nowrap; }

/* "Выбрать квест": on hover, blood with a wavy edge flows in from left to right */
.button-blood { position:relative; overflow:hidden; isolation:isolate; transition:transform .2s, box-shadow .45s, color .45s .1s, border-color .45s; }
.button-blood::before { content:""; position:absolute; top:-1px; bottom:-1px; left:-1px; width:calc(100% + 70px); z-index:-1; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23520507'/%3E%3Cstop offset='.6' stop-color='%23860c10'/%3E%3Cstop offset='1' stop-color='%23a51419'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 0H98C104 9 97 17 103 27C109 38 99 46 104 58C108 68 100 79 106 89C108 94 104 98 101 100H0Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  transform:translateX(-101%); transition:transform .7s cubic-bezier(.7,0,.2,1); }
.button-blood:hover, .button-blood:focus-visible { color:#f7edda; border-color:#8a1014; box-shadow:0 6px 26px #8a10143d; }
.button-blood:hover::before, .button-blood:focus-visible::before { transform:translateX(0); }
@media (prefers-reduced-motion:reduce) { .button-blood, .button-blood::before { transition:none; } }

/* Все кнопки «Забронировать»: постоянное медленное мерцание свечи — свечение всё время неровно разгорается и притухает */
.button[data-book], .bk-submit:not(:disabled) { animation:candle-glow 8s ease-in-out infinite; }
@keyframes candle-glow {
  0%, 100% { box-shadow:0 0 13px 2px #e3b66d3d, 0 0 30px 5px #ff9d3a16; }
  11% { box-shadow:0 0 19px 4px #e3b66d58, 0 0 42px 9px #ff9d3a26; }
  19% { box-shadow:0 0 12px 1px #e3b66d36, 0 0 27px 4px #ff9d3a12; }
  31% { box-shadow:0 0 17px 3px #e3b66d50, 0 0 38px 8px #ff9d3a22; }
  42% { box-shadow:0 0 14px 2px #e3b66d40, 0 0 31px 5px #ff9d3a18; }
  53% { box-shadow:0 0 21px 5px #e3b66d62, 0 0 46px 11px #ff9d3a2c; }
  61% { box-shadow:0 0 12px 1px #e3b66d34, 0 0 27px 4px #ff9d3a12; }
  72% { box-shadow:0 0 18px 3px #e3b66d54, 0 0 40px 8px #ff9d3a24; }
  84% { box-shadow:0 0 14px 2px #e3b66d3e, 0 0 32px 6px #ff9d3a18; }
  92% { box-shadow:0 0 20px 4px #e3b66d5c, 0 0 44px 10px #ff9d3a28; }
}
/* Наведение — «свеча разгорается»: снизу поднимается отсвет пламени, свечение ярче и мерцает чаще */
.button[data-book], .bk-submit { position:relative; overflow:hidden; isolation:isolate; }
.button[data-book]::before, .bk-submit::before { content:""; position:absolute; inset:-1px; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 60% 95% at 50% 125%, #ff5a0a 0%, #ff7d1fdd 28%, #ffa64a88 50%, #ffd28a33 66%, transparent 80%);
  opacity:0; transform:translateY(45%); transition:opacity .45s ease, transform .6s cubic-bezier(.3,.7,.3,1); }
@media (hover:hover) {
  .button[data-book]:hover, .bk-submit:not(:disabled):hover { animation:candle-flare 1.6s ease-in-out infinite; }
  .button[data-book]:hover::before, .bk-submit:not(:disabled):hover::before { opacity:.9; transform:translateY(0); animation:flame-sway 1.6s ease-in-out .5s infinite; }
}
.button[data-book]:focus-visible { animation:candle-flare 1.6s ease-in-out infinite; }
.button[data-book]:focus-visible::before { opacity:.9; transform:translateY(0); }
@keyframes flame-sway { 0%, 100% { transform:translateY(0) scaleY(1); } 30% { transform:translateY(-4%) scaleY(1.06) skewX(-2deg); } 60% { transform:translateY(3%) scaleY(.96) skewX(2deg); } }
@keyframes candle-flare {
  0%, 100% { box-shadow:0 0 22px 5px #ffb04a66, 0 0 52px 14px #ff8a2a33, 0 6px 26px #e0a34a30; }
  23% { box-shadow:0 0 30px 8px #ffb04a88, 0 0 66px 18px #ff8a2a44, 0 6px 26px #e0a34a30; }
  41% { box-shadow:0 0 19px 4px #ffb04a5c, 0 0 46px 12px #ff8a2a2c, 0 6px 26px #e0a34a30; }
  64% { box-shadow:0 0 28px 7px #ffb04a80, 0 0 60px 16px #ff8a2a40, 0 6px 26px #e0a34a30; }
  82% { box-shadow:0 0 21px 5px #ffb04a62, 0 0 50px 13px #ff8a2a30, 0 6px 26px #e0a34a30; }
}
/* На странице пакетов кнопок восемь — пусть мерцают вразнобой, как разные свечи */
.offer-card:nth-child(2n) .offer-book { animation-delay:-3.1s; }
.offer-card:nth-child(3n) .offer-book { animation-delay:-5.7s; }
.offer-card:nth-child(4n+1) .offer-book { animation-delay:-1.4s; }
@media (prefers-reduced-motion:reduce) { .button[data-book], .button[data-book]:hover, .bk-submit, .bk-submit:hover { animation:none !important; } .button[data-book]::before, .bk-submit::before { transition:opacity .2s; transform:none; } }

/* «Все пакеты»: спокойная заливка тем же золотом, что у основной кнопки, и один мягкий блик */
.button-gold-fx { position:relative; overflow:hidden; isolation:isolate; transition:color .3s .1s, border-color .4s; }
.button-gold-fx::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(115deg, #ebc37e, #d9ab65); transform:scaleX(0); transform-origin:left center; transition:transform .45s cubic-bezier(.4,0,.2,1); }
.button-gold-fx::after { content:""; position:absolute; top:0; bottom:0; left:0; width:30%; z-index:-1; pointer-events:none;
  background:linear-gradient(100deg, transparent, #fff8e655 50%, transparent); transform:translateX(-120%); opacity:0; }
.button-gold-fx:hover, .button-gold-fx:focus-visible { color:#211c13; border-color:#f0cd8f; }
.button-gold-fx:hover::before, .button-gold-fx:focus-visible::before { transform:scaleX(1); }
.button-gold-fx:hover::after, .button-gold-fx:focus-visible::after { opacity:1; transform:translateX(400%); transition:transform .8s .35s ease-out, opacity .15s .35s; }
@media (prefers-reduced-motion:reduce) { .button-gold-fx, .button-gold-fx::before { transition:none; } .button-gold-fx::after { display:none; } }

/* «Отзывы на Яндекс Картах»: при наведении кнопка плавно заливается красно-коралловым Яндекса — насыщенный вариант #F8604A */
.button-yandex { position:relative; overflow:hidden; isolation:isolate; transition:color .3s .1s, border-color .4s; }
.button-yandex::before { content:""; position:absolute; inset:-1px; z-index:-1; pointer-events:none;
  background:linear-gradient(115deg, #ff4a2b, #ff5a3c 55%, #ff6748); transform:scaleX(0); transform-origin:left center; transition:transform .45s cubic-bezier(.4,0,.2,1); }
.button-yandex:hover, .button-yandex:focus-visible { color:#fff; border-color:#ff5a3c; }
.button-yandex:hover::before, .button-yandex:focus-visible::before { transform:scaleX(1); }
@media (prefers-reduced-motion:reduce) { .button-yandex, .button-yandex::before { transition:none; } }

/* «Написать в ВК»: при наведении из левого края расходится волна фирменного синего ВК (#0077FF), затем по кнопке пробегает блик */
.button-vk { position:relative; overflow:hidden; isolation:isolate; transition:color .35s .08s, border-color .45s, box-shadow .55s, transform .25s; }
.button-vk::before { content:""; position:absolute; inset:-1px; z-index:-1; pointer-events:none;
  background:radial-gradient(circle at 30% 120%, #4da3ff 0, transparent 60%), linear-gradient(110deg, #0062d6, #0077ff 55%, #2b8cff);
  clip-path:circle(0% at 0% 50%); transition:clip-path .65s cubic-bezier(.65,0,.25,1); }
.button-vk::after { content:""; position:absolute; top:0; bottom:0; left:0; width:45%; z-index:-1; pointer-events:none;
  background:linear-gradient(100deg, transparent, #ffffff55 50%, transparent); transform:translateX(-160%) skewX(-18deg); opacity:0; }
.button-vk:hover, .button-vk:focus-visible { color:#fff; border-color:#0077ff; box-shadow:0 8px 28px #0077ff4d, 0 0 0 1px #0077ff66; transform:translateY(-1px); }
.button-vk:hover::before, .button-vk:focus-visible::before { clip-path:circle(150% at 0% 50%); }
.button-vk:hover::after, .button-vk:focus-visible::after { opacity:1; transform:translateX(330%) skewX(-18deg); transition:transform .9s .35s ease-out, opacity .2s .35s; }
@media (prefers-reduced-motion:reduce) { .button-vk, .button-vk::before { transition:none; } .button-vk::after { display:none; } }

/* "Комната отдыха": on hover the button turns into a small patch of space — nebula, twinkling stars, purple glow */
.button-space { position:relative; overflow:hidden; isolation:isolate; transition:transform .2s, box-shadow .5s, border-color .5s, text-shadow .5s; }
.button-space::before, .button-space::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:0; transition:opacity .5s ease; }
.button-space::before { background:
  radial-gradient(circle at 18% 35%, #7b3fe080, transparent 55%),
  radial-gradient(circle at 82% 75%, #2a8cff4d, transparent 50%),
  radial-gradient(circle at 60% 10%, #e0458a33, transparent 40%),
  linear-gradient(120deg, #0a0920, #1b1048 55%, #0c1a3d); }
.button-space::after { background-image:
  radial-gradient(1.2px 1.2px at 12px 14px, #fff, transparent),
  radial-gradient(1px 1px at 46px 38px, #d9ccff, transparent),
  radial-gradient(1.5px 1.5px at 78px 10px, #fff, transparent),
  radial-gradient(1px 1px at 104px 44px, #bfe3ff, transparent),
  radial-gradient(1px 1px at 30px 50px, #fff, transparent),
  radial-gradient(1.3px 1.3px at 92px 26px, #ffe9c7, transparent);
  background-size:120px 60px; background-repeat:repeat; }
.button-space:hover, .button-space:focus-visible { border-color:#9a7bff; box-shadow:0 0 24px #7b4dff55, inset 0 0 18px #7b4dff33; text-shadow:0 0 10px #b9a4ff99; }
.button-space:hover::before, .button-space:focus-visible::before { opacity:1; }
.button-space:hover::after, .button-space:focus-visible::after { opacity:1; animation:space-drift 6s linear infinite, space-twinkle 1.6s ease-in-out infinite alternate; }
@keyframes space-drift { from { background-position:0 0; } to { background-position:-120px 0; } }
@keyframes space-twinkle { from { filter:brightness(.7); } to { filter:brightness(1.4); } }
@media (prefers-reduced-motion:reduce) { .button-space:hover::after, .button-space:focus-visible::after { animation:none; } }

/* Service icons: one hand-drawn line set (48px grid, 1.5 stroke, soft gold tint) */
.service-top svg.ico { width:46px; height:46px; }
.ico .ico-fill { fill:currentColor; fill-opacity:.16; }
.ico .ico-thin { stroke-width:1.1; opacity:.75; }
.service-top .ico { transition:transform .35s ease; }
@media (hover:hover) { .service-card:hover .service-top .ico { transform:translateY(-2px) rotate(-6deg); } }

/* Package feature on the home page: the standout gold banner */
.package-feature { position:relative; overflow:hidden; isolation:isolate; align-items:center; gap:32px; padding:38px 40px; border:1px solid transparent; border-radius:10px;
  background:
    radial-gradient(ellipse at 88% 40%, #f4c97a40, transparent 55%),
    radial-gradient(ellipse at 0% 100%, #b5772f33, transparent 60%),
    linear-gradient(120deg, #3d2f1c 0%, #2a2218 45%, #1f1b15 100%) padding-box,
    linear-gradient(120deg, #f7d79a, #b8873f 40%, #f3cf8c 70%, #9c6f33) border-box;
  box-shadow:0 18px 50px #00000059, 0 0 0 1px #00000040, inset 0 1px 0 #ffe7b84d, 0 0 60px #e3b66d1f; }
.package-feature::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:
    radial-gradient(2px 2px at 62% 18%, #f7d79acc, transparent), radial-gradient(1.5px 1.5px at 71% 72%, #f7d79a99, transparent),
    radial-gradient(2px 2px at 83% 14%, #fff2d6aa, transparent), radial-gradient(1.5px 1.5px at 92% 66%, #f7d79a88, transparent),
    radial-gradient(1.5px 1.5px at 55% 85%, #f7d79a66, transparent), radial-gradient(2.5px 2.5px at 77% 45%, #f7d79a77, transparent); }
.package-feature::after { content:""; position:absolute; top:0; bottom:0; left:-40%; width:30%; z-index:-1; pointer-events:none; background:linear-gradient(100deg, transparent, #ffe7b81f, transparent); transform:skewX(-18deg); animation:pf-shine 6s ease-in-out infinite; }
@keyframes pf-shine { 0%, 55% { left:-40%; } 100% { left:130%; } }
.pf-glow { position:absolute; right:-60px; top:50%; width:340px; height:340px; transform:translateY(-50%); z-index:-1; border-radius:50%; background:radial-gradient(circle, #e3b66d2e, transparent 65%); pointer-events:none; }
.package-feature-icon { width:96px; height:96px; border:1px solid #f3cf8c80; background:radial-gradient(circle at 35% 30%, #f7d79a33, #e3b66d0d 70%); box-shadow:0 0 30px #e3b66d33, inset 0 0 18px #e3b66d22; }
.package-feature-icon svg { width:50px; height:50px; }
.package-feature-copy { gap:12px; min-width:0; }
.pf-badges { display:flex; flex-wrap:wrap; gap:8px; }
.pf-badge-hot { background:linear-gradient(115deg,#ebc37e,#d9ab65); color:#221d14; border-color:#f3cf8c; }
.package-feature-title { font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; text-transform:uppercase; font-size:clamp(32px,3.2vw,48px); line-height:1; letter-spacing:.01em; background:linear-gradient(180deg,#fff0d2 0%,#f3cf8c 45%,#c9944d 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.package-feature-description { max-width:560px; color:#d9cfbd; font-size:15.5px; }
.pf-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:2px; }
.pf-chips span { padding:6px 12px; border:1px solid #e3b66d55; border-radius:999px; background:#e3b66d12; color:#f3dfbd; font-size:12.5px; font-weight:600; white-space:nowrap; }
.package-feature-side { margin-left:auto; display:flex; flex-direction:column; align-items:flex-end; gap:16px; flex-shrink:0; }
.pf-price { display:flex; flex-direction:column; align-items:flex-end; line-height:1; }
.pf-price small { color:#d9cfbd; font-size:12px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:8px; }
.pf-price b { color:var(--ivory); font-size:clamp(30px,2.6vw,40px); font-weight:800; white-space:nowrap; }
.package-feature .package-feature-action { margin:0; gap:16px; padding:15px 24px; border-radius:6px; background:linear-gradient(115deg,#f3cf8c,#d9ab65); color:#221d14; font-weight:800; font-size:16px; box-shadow:0 8px 24px #e3b66d40; white-space:nowrap; }
.package-feature .package-feature-action > span { font-size:24px; }
@media (hover:hover) { .package-feature:hover { transform:translateY(-4px); box-shadow:0 24px 60px #00000066, inset 0 1px 0 #ffe7b866, 0 0 80px #e3b66d33; } }
@media (prefers-reduced-motion:reduce) { .package-feature::after { animation:none; display:none; } }
@media (max-width:1000px) { .package-feature { flex-wrap:wrap; } .package-feature-side { width:100%; margin:0; flex-direction:row; align-items:center; justify-content:space-between; padding-top:20px; border-top:1px solid #e3b66d40; } .pf-price { align-items:flex-start; } }
@media (max-width:760px) {
  .package-feature { padding:26px 22px; gap:18px; border-radius:8px; }
  .package-feature-icon { position:absolute; top:22px; right:20px; width:54px; height:54px; }
  .package-feature-icon svg { width:30px; height:30px; }
  .package-feature-copy { flex:1 1 100%; }
  .pf-badges { padding-right:64px; }
  .package-feature-title { font-size:30px; }
  .package-feature-description { font-size:14.5px; }
  .package-feature-side { flex-direction:column; align-items:stretch; gap:14px; }
  .pf-price { flex-direction:row; align-items:baseline; justify-content:space-between; }
  .pf-price small { margin:0; }
  .package-feature .package-feature-action { width:100%; justify-content:space-between; border-top:0; padding:15px 20px; }
}

/* "Листайте дальше": small, crisp scroll cue instead of a big text arrow */
.scroll-action .circle { width:32px; height:32px; border:1px solid #e3b66d80; font-size:0; color:var(--gold); background:#e3b66d0d; }
.scroll-action .circle svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; animation:scroll-cue 2.2s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform:translateY(-1.5px); } 50% { transform:translateY(2px); } }
.scroll-row:hover .scroll-action .circle { transform:none; border-color:var(--gold); background:#e3b66d1f; }
@media (max-width:760px) { .scroll-action .circle { width:28px; height:28px; } .scroll-action .circle svg { width:12px; height:12px; } }
@media (prefers-reduced-motion:reduce) { .scroll-action .circle svg { animation:none; } }

/* Scarlet accent word in headings */
h1 .scarlet { display:inline; color:#e0242f; text-shadow:0 0 24px #e0242f40; }

.privacy { max-width:820px; }
.privacy h1 { font-size:clamp(30px,3.4vw,46px); line-height:1.15; margin:10px 0 18px; text-transform:none; }
.privacy h2 { font-size:21px; margin:30px 0 10px; }
.privacy p, .privacy li { color:var(--muted); line-height:1.75; }
.privacy-draft { padding:12px 14px; border:1px dashed #b99a64; border-radius:6px; color:var(--gold) !important; }
.offer-book { width:100%; margin-top:18px; justify-content:space-between; min-height:50px; font-size:15px; padding:12px 18px; }

/* Online booking form (booking.js) */
dialog.bk { max-width:640px; width:calc(100% - 24px); max-height:calc(100dvh - 24px); padding:0; overflow:hidden; border-color:#9a7c4f; }
.bk-form { display:flex; flex-direction:column; max-height:calc(100dvh - 26px); }
.bk-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:24px 28px 16px; border-bottom:1px solid #4a4132; }
.bk-head h2 { margin:0; font-size:28px; }
.bk-eyebrow { margin:0 0 6px; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.bk-close { border:0; background:none; font-size:32px; line-height:1; cursor:pointer; color:var(--ivory); }
.bk-body { display:grid; gap:16px; padding:20px 28px 26px; overflow:auto; }
.bk-kinds { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.bk-kind { min-height:42px; padding:6px 8px; border:1px solid #5c503e; border-radius:6px; background:#1d1c19; font-weight:700; font-size:14px; cursor:pointer; }
.bk-kind[aria-selected="true"] { background:linear-gradient(115deg,#ebc37e,#d9ab65); border-color:#f0cd8f; color:#211c13; }
.bk-what { display:grid; gap:10px; }
.bk-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.bk-field { display:grid; gap:6px; margin:0; }
.bk-field > span, .bk-sub { color:var(--muted); font-size:12.5px; margin:0; }
.bk-input { width:100%; min-height:44px; padding:9px 12px; border:1px solid #5c503e; border-radius:6px; background:#141310; color:var(--ivory); font:inherit; }
.bk-input:focus { outline:2px solid var(--gold); outline-offset:1px; border-color:transparent; }
.bk-mini { width:auto; min-height:32px; padding:4px 8px; margin-left:auto; }
.bk-hint { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
.bk-showname { margin:0; font-size:20px; font-weight:700; }
.bk-extras { display:grid; gap:8px; padding:12px 14px; border:1px solid #3d382c; border-radius:6px; background:#ffffff05; }
.bk-check { display:flex; align-items:center; gap:10px; font-size:14px; line-height:1.4; cursor:pointer; }
.bk-check input { flex-shrink:0; width:18px; height:18px; accent-color:var(--gold); }
.bk-check b { color:var(--gold); font-weight:700; white-space:nowrap; }
.bk-times { display:grid; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:6px; }
.bk-time { min-height:40px; border:1px solid #5c503e; border-radius:6px; background:#1d1c19; font-weight:700; cursor:pointer; }
.bk-time:hover { border-color:var(--gold); }
.bk-time[aria-pressed="true"] { background:linear-gradient(115deg,#ebc37e,#d9ab65); border-color:#f0cd8f; color:#211c13; }
.bk-muted { color:var(--muted); font-size:14px; }
dialog .bk-muted { margin:0; }
.bk-summary:empty { display:none; }
.bk-summary { padding:14px 16px; border:1px solid #6b5a40; border-radius:6px; background:#e3b66d0f; }
.bk-total { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.bk-total b { color:var(--gold); font-size:24px; white-space:nowrap; }
.bk-items { list-style:none; margin:10px 0; padding:0; display:grid; gap:4px; font-size:13.5px; color:var(--muted); }
.bk-items li { display:flex; justify-content:space-between; gap:12px; }
.bk-contacts { display:grid; gap:12px; margin:0; padding:0; border:0; }
.bk-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.bk-error { margin:0; padding:10px 12px; border:1px solid #7a2e33; border-radius:6px; background:#e0535b14; color:#ffb7bb !important; font-size:14px; }
.bk-submit { width:100%; justify-content:space-between; }
.bk-submit:disabled { opacity:.5; cursor:default; transform:none; box-shadow:none; }
dialog .bk-note { margin:0; font-size:12.5px; line-height:1.6; }
.bk-done { display:grid; gap:12px; padding:10px 0; }
.bk-done h3 { margin:0; font-size:26px; }
dialog .bk-done p { margin:0; }
@media (max-width:600px) {
  dialog.bk { width:100%; max-width:none; max-height:100dvh; height:100dvh; margin:0; border-radius:0; border:0; }
  .bk-form { max-height:100dvh; height:100%; }
  .bk-head { padding:18px 18px 12px; }
  .bk-head h2 { font-size:24px; }
  .bk-body { padding:16px 18px calc(24px + env(safe-area-inset-bottom)); }
  .bk-kinds { grid-template-columns:1fr 1fr; }
  .bk-row { grid-template-columns:1fr; }
}

/* iPhone draws some arrows (↗) as Apple emoji: keep all symbols as plain text glyphs. */
html { font-variant-emoji: text; }

/* Header brand lockup: compact logo + two-line wordmark */
.header .brand { gap:14px; font-size:inherit; letter-spacing:0; }
.header .brand img { width:auto; height:52px; flex-shrink:0; }
.brand-text { display:flex; flex-direction:column; gap:5px; padding-left:14px; border-left:1px solid #6b5a40; line-height:1; }
.brand-name { font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; font-size:27px; letter-spacing:.07em; text-transform:uppercase; color:var(--ivory); white-space:nowrap; }
.brand-num { background:linear-gradient(180deg,#f3dfbf 0%,#d9b27a 55%,#a9824f 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.brand-tag { font-size:9.5px; font-weight:600; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
@media (hover:hover) { .header .brand:hover .brand-name { color:#fff7ea; } }
.header nav > a { white-space:nowrap; }
@media (min-width:1101px) and (max-width:1300px) {
  .header nav { gap:22px; }
  .header nav > a { font-size:15px; }
  .header-book { padding:12px 18px; gap:14px; }
}
@media (min-width:761px) and (max-width:1100px) {
  .header .brand { gap:11px; }
  .header .brand img { width:auto; height:44px; }
  .brand-text { padding-left:11px; }
  .brand-name { font-size:23px; }
  .brand-tag { font-size:8.5px; letter-spacing:.2em; }
}
@media (max-width:760px) {
  .header .brand { gap:11px; }
  .header .brand img { width:auto; height:42px; }
  .brand-text { padding-left:11px; gap:4px; }
  .brand-name { font-size:22px; }
  .brand-tag { font-size:8.5px; letter-spacing:.2em; }
}

/* Footer contacts */
.footer-contacts { display:flex; flex-direction:column; gap:4px; text-align:center; }
.footer-contacts a { color:var(--ivory); font-weight:700; font-size:16px; letter-spacing:.02em; }
.footer .footer-contacts span { display:block; font-size:12px; }
@media(hover:hover) { .footer-contacts a:hover { color:var(--gold); } }
@media(max-width:760px) { .footer-contacts { order:5; width:100%; text-align:left; padding-top:6px; } }

/* Celebrations block on the home page */
.celebrate { display:grid; grid-template-columns:1fr 1.1fr; gap:60px; padding-block:70px 60px; border-top:1px solid #3a352c; }
.celebrate .eyebrow { color:var(--gold); margin-bottom:16px; }
.celebrate h2 { font-size:clamp(32px,3.2vw,52px); line-height:1.1; margin:0 0 22px; }
.celebrate-copy p { color:var(--muted); font-size:16px; line-height:1.8; margin:0 0 16px; }
.celebrate-copy .rest-cta-actions { margin-top:10px; }
.celebrate-list strong a { color:var(--gold); text-decoration:underline; text-underline-offset:4px; }
@media(max-width:600px) { .celebrate-copy .rest-cta-actions { flex-direction:column; } .celebrate-copy .button { justify-content:space-between; } }
.celebrate-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px; align-content:start; }
.celebrate-list li { padding:20px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.celebrate-list strong { display:block; font-size:19px; margin-bottom:6px; }
.celebrate-list span { color:var(--muted); font-size:14px; line-height:1.6; }
.celebrate-geo { grid-column:1 / -1; margin:0; padding-top:24px; border-top:1px solid #3a352c; color:var(--muted); font-size:14px; line-height:1.8; }
.celebrate-geo strong { color:var(--ivory); font-weight:600; }
.locations-contacts { display:flex; flex-wrap:wrap; gap:10px 28px; margin:22px 0 0; color:var(--muted); font-size:15px; }
.locations-contacts a { color:var(--gold); font-weight:700; }
@media(max-width:900px) { .celebrate { grid-template-columns:1fr; gap:30px; padding-block:50px 40px; } }
@media(max-width:480px) { .celebrate-list { grid-template-columns:1fr; } }

/* Package composition */
.offers-includes { margin-top:28px; padding:28px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.offers-includes h2 { font-size:clamp(24px,2.2vw,32px); margin:0 0 18px; }
.offers-includes ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.offers-includes li { padding-top:14px; border-top:1px solid #5c503e; font-size:15px; line-height:1.5; }
.offers-includes li strong { display:block; color:var(--gold); font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:6px; }
.offers-includes p { margin:20px 0 0; color:var(--muted); font-size:14px; line-height:1.8; }
@media(max-width:1000px) { .offers-includes ul { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .offers-includes { padding:22px; } .offers-includes ul { grid-template-columns:1fr; } }

/* About page */
.about-stats { padding-top:40px; }
.about-stats dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; }
.about-stats dl > div { display:flex; flex-direction:column; padding:22px 0 0; border-top:1px solid #66553c; }
.about-stats dt { order:1; color:var(--muted); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.about-stats dd { order:0; margin:0 0 10px; color:var(--gold); font-size:clamp(40px,4vw,64px); font-weight:700; line-height:1; white-space:nowrap; }
.about-stats span { order:2; margin-top:6px; color:var(--muted); font-size:13px; line-height:1.5; }
.about-who { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1000px) { .about-stats dl { grid-template-columns:1fr 1fr; gap:24px 20px; } .about-who { grid-template-columns:1fr 1fr; } }
@media(max-width:480px) { .about-who { grid-template-columns:1fr; } .about-stats dd { font-size:34px; } }

/* Quest pages with an age fact show three facts in one row */
.product-facts:has(> div:nth-child(3)) { grid-template-columns:repeat(3,minmax(0,1fr)); }
.product-facts .product-address { grid-column:1/-1; padding-top:18px; border-top:1px solid #65543b33; }
.product-facts .product-address dd { font-size:18px; }
.product-address .text-link { margin-left:8px; font-size:14px; font-weight:600; white-space:nowrap; font-variant-emoji:text; }
@media(max-width:480px) { .product-facts:has(> div:nth-child(3)) { grid-template-columns:1fr 1fr; } }

/* Rest room gallery */
.rest-gallery { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:auto auto; gap:14px; margin-top:40px; }
.rest-photo { display:block; padding:0; border:1px solid #66553c; border-radius:6px; overflow:hidden; background:#23231f; cursor:zoom-in; aspect-ratio:4 / 3; }
.rest-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform 400ms ease; }
.rest-photo-main { grid-row:1 / span 2; aspect-ratio:auto; position:relative; min-height:280px; }
.rest-photo-main img { position:absolute; inset:0; }
.rest-gallery .rest-photo:nth-child(4) { grid-column:2 / span 2; aspect-ratio:8 / 3; }
.rest-gallery .rest-photo:nth-child(4) img { object-position:50% 70%; }
@media(hover:hover) { .rest-photo:hover img { transform:scale(1.04); } }
.rest-features { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rest-features li { padding:20px 22px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.rest-features strong { display:block; font-size:18px; margin-bottom:6px; }
.rest-features span { color:var(--muted); font-size:14px; line-height:1.6; }
/* Яндекс Станция — выделенная карточка в фирменных фиолетовых тонах Алисы */
.rest-features .rest-feature-station { position:relative; border-color:#8b5cf6; background:radial-gradient(ellipse at 100% 0%, #8b5cf633, transparent 65%), radial-gradient(ellipse at 0% 100%, #3b82f61f, transparent 60%), #1f1c2a; box-shadow:0 0 0 1px #8b5cf640, 0 10px 30px #6d28d926; }
.rest-feature-station strong { color:#efe9ff; }
.rest-feature-badge { display:inline-block; margin:0 0 8px; padding:3px 10px; border-radius:999px; background:linear-gradient(110deg, #7c3aed, #a855f7 60%, #6366f1); color:#fff; font-style:normal; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.lightbox { max-width:min(1200px,94vw); max-height:92vh; padding:0; border:1px solid #66553c; border-radius:8px; background:#111; overflow:hidden; }
.lightbox::backdrop { background:#000c; }
.lightbox img { display:block; max-width:100%; max-height:92vh; object-fit:contain; }
.lightbox-close { position:absolute; top:10px; right:10px; width:44px; height:44px; border:1px solid #66553c; border-radius:50%; background:#1b1b19cc; color:var(--ivory); font-size:26px; line-height:1; }
@media(max-width:900px) { .rest-features { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) { .rest-gallery { grid-template-columns:1fr 1fr; gap:10px; margin-top:28px; } .rest-photo-main { grid-column:1 / -1; grid-row:auto; aspect-ratio:4 / 3; min-height:0; } .rest-gallery .rest-photo:nth-child(4) { grid-column:1 / -1; aspect-ratio:2 / 1; } }
@media(max-width:480px) { .rest-features { grid-template-columns:1fr; } }

.rest-stats { padding-top:44px; }
.about-stats dd.rest-stats-address { font-size:clamp(24px,2.2vw,34px); line-height:1.15; white-space:normal; }

/* Immersive theatre page */
.theatre-compare { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.theatre-compare > div { padding:28px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.theatre-compare > div:last-child { border-color:#b99a64; background:radial-gradient(ellipse at 100% 0%,#d9ae6522,transparent 70%),#23231f; }
.theatre-compare .eyebrow { color:var(--gold); margin:0 0 10px; }
.theatre-compare h3 { font-size:clamp(24px,2vw,30px); margin:0 0 12px; }
.theatre-compare p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.7; margin:0 0 14px; }
/* Poster fills the whole left column, edge to edge, whatever the text height */
.theatre-show-poster { position:relative; display:block; overflow:hidden; min-height:300px; }
.theatre-show-poster img { position:absolute; inset:0; }
@media(max-width:760px) { .theatre-show-poster { min-height:0; aspect-ratio:1; } }
.theatre-show-poster img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
@media(hover:hover) { .theatre-show-poster:hover img { transform:scale(1.04); } }
.theatre-show { display:grid; grid-template-columns:300px 1fr; border:1px solid #b99a64; border-radius:6px; overflow:hidden; background:#1f1e1b; }
.theatre-show-mark { position:relative; display:grid; place-items:center; min-height:220px; background:radial-gradient(circle at 50% 45%, #3a2a14 0%, #17130d 55%, #0c0b09 100%); }
.theatre-show-mark svg { width:160px; height:auto; filter:drop-shadow(0 10px 18px #000c); }
.theatre-show-mark .mask-strap { fill:none; stroke:#6b5a40; stroke-width:3; stroke-linecap:round; }
.theatre-show-mark .mask-body { fill:#141210; stroke:#c9a46a; stroke-width:2; }
.theatre-show-mark .mask-stitch { fill:none; stroke:#c9a46a; stroke-width:1.2; stroke-dasharray:3 4; opacity:.7; }
.theatre-show-mark span { position:absolute; bottom:16px; left:18px; color:var(--gold); font-size:13px; letter-spacing:.12em; }
.theatre-show-body { padding:30px 34px; }
.theatre-show-body .eyebrow { color:var(--gold); margin:0 0 10px; }
.theatre-show-body h3 { font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; text-transform:uppercase; font-size:clamp(30px,3vw,46px); line-height:1.05; margin:0 0 16px; }
.theatre-show-body p { color:var(--muted); font-size:16px; line-height:1.7; margin:0 0 12px; max-width:620px; }
.theatre-show-body .theatre-show-note { font-size:14px; margin:0; }
@media(max-width:760px) { .theatre-compare { grid-template-columns:1fr; gap:14px; } .theatre-compare > div { padding:22px; } .theatre-show { grid-template-columns:1fr; } .theatre-show-mark { min-height:140px; } .theatre-show-body { padding:22px; } }

/* Show page: drawn mask instead of a poster */
.show-art { position:relative; display:grid; place-items:center; aspect-ratio:1; border:1px solid #66553c; border-radius:6px; overflow:hidden; background:radial-gradient(circle at 50% 42%, #3d2c15 0%, #19140d 50%, #0b0a08 100%); }
.show-art svg { width:62%; height:auto; filter:drop-shadow(0 18px 30px #000d); }
.show-art .mask-strap { fill:none; stroke:#6b5a40; stroke-width:3; stroke-linecap:round; }
.show-art .mask-body { fill:#141210; stroke:#c9a46a; stroke-width:2; }
.show-art .mask-stitch { fill:none; stroke:#c9a46a; stroke-width:1.2; stroke-dasharray:3 4; opacity:.7; }
.show-art-title { position:absolute; bottom:8%; left:0; right:0; text-align:center; font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; font-size:clamp(30px,4vw,56px); letter-spacing:.18em; text-transform:uppercase; background:linear-gradient(180deg,#f3dfbf,#a9824f); -webkit-background-clip:text; background-clip:text; color:transparent; }
.show-promises { list-style:none; margin:6px 0 22px; padding:0; display:grid; gap:10px; }
.show-promises li { position:relative; padding-left:26px; color:var(--muted); line-height:1.6; }
.show-promises li::before { content:"✦"; position:absolute; left:0; color:var(--gold); }
.show-promises strong { color:var(--ivory); }
.theatre-show-facts { display:flex; flex-wrap:wrap; gap:8px 22px; margin:0 0 18px; color:var(--ivory); font-size:15px; }
.theatre-show-facts span { white-space:nowrap; }
.theatre-show-facts b { color:var(--gold); font-weight:700; }

/* PlayStation 5 rental block on the rest room page */
.ps-block { display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; margin-top:50px; padding:36px; border:1px solid #4d4f86; border-radius:6px; background:radial-gradient(ellipse at 0% 0%, #3b3fa333, transparent 60%), radial-gradient(ellipse at 100% 100%, #7b3fe02a, transparent 55%), #1f1f26; }
.ps-info .eyebrow { color:#a9b0ff; margin:0 0 14px; }
.ps-info h2 { font-size:clamp(28px,2.8vw,44px); line-height:1.1; margin:0 0 16px; }
.ps-info > p:not(.eyebrow) { color:var(--muted); font-size:16px; line-height:1.75; margin:0 0 24px; max-width:480px; }
.ps-price { display:inline-flex; align-items:baseline; gap:10px; padding:14px 22px; border:1px solid #6b6fd0; border-radius:5px; background:#2a2c55; }
.ps-price strong { font-size:32px; color:var(--ivory); }
.ps-price span { color:#c9cdf7; font-size:14px; }
.ps-perks { display:flex; flex-wrap:wrap; gap:12px; }
.ps-games-title { margin:0 0 12px; color:var(--muted); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.ps-games ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.ps-games li { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 18px; border:1px solid #3e4070; border-radius:5px; background:#ffffff08; }
.ps-games li strong { font-size:17px; }
.ps-games li span { color:#a9b0ff; font-size:12px; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; }
@media(max-width:900px) { .ps-block { grid-template-columns:1fr; gap:28px; } }
@media(max-width:480px) { .ps-block { padding:22px; margin-top:36px; } .ps-games li { padding:12px 14px; } }

/* Package card details: duration, contents, sample program */
.offer-card h2 + .offer-meta { margin-top:-14px; }
.offer-meta { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; }
.offer-meta span { padding:5px 10px; border:1px solid #6b5a40; border-radius:999px; color:var(--gold); font-size:12px; font-weight:600; white-space:nowrap; }
.offer-includes { list-style:none; margin:0 0 14px; padding:0; display:grid; gap:10px; }
.offer-includes li { position:relative; padding-left:18px; color:var(--muted); font-size:14px; line-height:1.55; }
.offer-includes li::before { content:""; position:absolute; left:2px; top:.6em; width:6px; height:6px; border-radius:50%; background:var(--gold); }
.offer-includes strong { color:var(--ivory); font-weight:600; }
.offer-note { margin:0 0 14px; color:#a99d86; font-size:12.5px; line-height:1.5; }
.offer-program { margin:0 0 22px; border-top:1px solid #5c503e; }
.offer-program summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; padding:14px 0 4px; color:var(--gold); font-size:13px; font-weight:700; }
.offer-program summary::-webkit-details-marker { display:none; }
.offer-program summary::after { content:"+"; font-size:20px; line-height:1; transition:transform .2s; }
.offer-program[open] summary::after { transform:rotate(45deg); }
.offer-program ol { list-style:none; margin:10px 0 0; padding:0; display:grid; gap:8px; }
.offer-program li { display:grid; grid-template-columns:58px 1fr; gap:10px; color:var(--muted); font-size:13.5px; line-height:1.45; }
.offer-program li span { color:var(--ivory); font-weight:700; white-space:nowrap; }

/* Animations page */
.anim-shows { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.anim-show { position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; gap:8px; min-height:190px; padding:26px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.anim-show strong { position:relative; font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; font-size:clamp(26px,2.3vw,34px); text-transform:uppercase; letter-spacing:.02em; }
.anim-show span { position:relative; color:var(--muted); font-size:14px; }
.anim-show::before { content:""; position:absolute; inset:0; opacity:.9; }
.anim-shows-one { grid-template-columns:minmax(0,520px); }
.anim-show-neon { border-color:#7b4dff80; box-shadow:inset 0 0 30px #7b4dff22; }
.anim-show-neon::before { background:radial-gradient(ellipse at 90% 10%, #ff3fd133, transparent 55%), radial-gradient(ellipse at 10% 100%, #3fe7ff22, transparent 55%), #17141f; }
.anim-show-neon strong { color:#f6e9ff; text-shadow:0 0 12px #ff5be0aa, 0 0 26px #b45cff66; }
.anim-tags { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.anim-tags li { padding:12px 18px; border:1px solid #66553c; border-radius:999px; background:#23231f; font-size:15px; }
@media(max-width:900px) { .anim-shows { grid-template-columns:1fr; gap:14px; } .anim-show { min-height:140px; padding:22px; } }
@media(max-width:480px) { .anim-tags li { padding:10px 14px; font-size:14px; } }

.anim-card { overflow:hidden; transition:border-color .22s, transform .22s; }
.anim-card-img { display:block; width:calc(100% + 52px); max-width:none; height:auto; aspect-ratio:1; object-fit:cover; margin:-26px -26px 22px; border-bottom:1px solid #66553c; }
@media(max-width:760px) { .anim-card-img { width:calc(100% + 40px); margin:-20px -20px 18px; } }
@media(max-width:540px) { .anim-card-img { width:calc(100% + 52px); margin:-26px -26px 20px; } }
.anim-card p { margin:0 0 18px !important; }
.anim-card-more { margin-top:auto; color:var(--gold); font-size:14px; font-weight:700; }
.anim-card-more span { display:inline-block; transition:transform .22s; }
@media(hover:hover) { .anim-card:hover { transform:translateY(-3px); } .anim-card:hover .anim-card-more span { transform:translateX(5px); } }

/* Animation program pages: drawn cover instead of a poster */
.anim-art { position:relative; display:grid; place-items:center; aspect-ratio:1; border:1px solid #66553c; border-radius:6px; overflow:hidden; }
.anim-art-squid { background:radial-gradient(circle at 50% 45%, #5a1030 0%, #250914 55%, #0d0508 100%); }
.anim-art-squid svg { width:76%; fill:none; stroke:#ff4f8b; stroke-width:6; stroke-linejoin:round; filter:drop-shadow(0 0 14px #ff2f75aa); }
.anim-art-tiktok { background:radial-gradient(circle at 30% 30%, #0e3b44 0%, #0b1418 50%, #060708 100%); }
.anim-art-note { font-size:clamp(120px,18vw,230px); line-height:1; color:#fff; text-shadow:-6px -4px 0 #25f4ee, 6px 4px 0 #fe2c55; }
.anim-art-word { position:absolute; bottom:9%; left:0; right:0; text-align:center; font-family:'Roboto Condensed',Impact,sans-serif; font-weight:800; font-size:clamp(26px,3.4vw,46px); letter-spacing:.32em; color:#fff; text-shadow:-2px -1px 0 #25f4ee, 2px 1px 0 #fe2c55; }
.anim-art-challenge { background:linear-gradient(135deg, #3a2a10 0%, #1d160b 49.6%, #3b0d10 50.4%, #1a0708 100%); }
.anim-art-vs { display:flex; font-family:'Roboto Condensed',Impact,sans-serif; font-weight:900; font-size:clamp(120px,17vw,220px); line-height:1; letter-spacing:-.04em; }
.anim-art-vs b { color:var(--gold); text-shadow:0 0 30px #e3b66d55; }
.anim-art-vs i { font-style:normal; color:#e0353d; text-shadow:0 0 30px #e0353d66; }

/* Host-led games on the rest room page */
.host-games { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.host-game h3 { font-family:'Roboto Condensed',Impact,'Arial Narrow',sans-serif; font-weight:800; text-transform:uppercase; font-size:clamp(32px,3vw,46px); line-height:1; margin:0 0 16px; }
.host-game > p:not(.offer-meta) { color:var(--muted); font-size:15px; line-height:1.7; margin:0 0 12px; }
.host-game .offer-meta { margin:0 0 18px; }
.host-game-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin-top:auto; padding-top:18px; border-top:1px solid #5c503e; }
.host-game-price strong { color:var(--gold); font-size:26px; }
.host-game-price span { color:var(--muted); font-size:13px; }
.host-game-mafia { background:radial-gradient(ellipse at 100% 0%, #8f101826, transparent 60%), #211d1c; }
.host-game-mafia h3 { color:#f1dcd0; }
.host-game-bunker { background:radial-gradient(ellipse at 100% 0%, #6f7f3a26, transparent 60%), #1f201b; }
.host-game-bunker h3 { color:#e4e6cf; }
@media(max-width:860px) { .host-games { grid-template-columns:1fr; gap:14px; } }

/* Extra services on the quests catalog */
.extras-section { padding-block:20px 80px; }
.extras-grid { display:grid; grid-template-columns:1.25fr 1fr; gap:20px; margin-top:28px; }
.extra-card { display:flex; flex-direction:column; padding:30px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 100% 0%, #d9ae6514, transparent 70%), #23231f; }
.extra-card .eyebrow { color:var(--gold); margin:0 0 10px; }
.extra-card h3 { font-size:clamp(26px,2.3vw,34px); margin:0 0 14px; }
.extra-card > p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.7; margin:0 0 14px; }
.extra-prices { display:grid; grid-template-columns:1fr 1fr; gap:0 28px; margin:8px 0 18px; }
.extra-prices > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:12px 0; border-top:1px solid #5c503e; }
.extra-prices dt { color:var(--muted); font-size:14px; }
.extra-prices dd { margin:0; color:var(--gold); font-weight:700; font-size:19px; white-space:nowrap; }
.extra-card .extra-note { margin:auto 0 0 !important; color:var(--ivory) !important; font-size:14px !important; }
.extra-card-actor { background:radial-gradient(ellipse at 100% 0%, #8f101824, transparent 65%), #221e1c; }
.extra-actor-price { display:flex; align-items:baseline; gap:12px; margin-top:auto; padding-top:18px; border-top:1px solid #5c503e; }
.extra-actor-price strong { color:var(--gold); font-size:32px; }
.extra-actor-price span { color:var(--muted); font-size:14px; }
.extra-card-photo { grid-column:1 / -1; background:radial-gradient(ellipse at 100% 0%, #e3b66d1f, transparent 60%), #23231f; }
.extra-photo-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,360px); gap:28px; align-items:center; }
.extra-card-photo .extra-photo-head p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.7; margin:0; max-width:620px; }
.photo-prices { display:grid; gap:10px; margin:0; }
.photo-prices > div { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:14px 18px; border:1px solid #5c503e; border-radius:5px; background:#ffffff05; }
.photo-prices dt { color:var(--ivory); font-size:15px; }
.photo-prices dd { margin:0; color:var(--gold); font-weight:800; font-size:24px; white-space:nowrap; }
.photo-price-actor { border-color:#8a6a3c !important; background:#e3b66d12 !important; }
@media(max-width:900px) { .extra-photo-head { grid-template-columns:1fr; gap:16px; } }
.extra-card-contact { grid-column:1 / -1; border-color:#7a2e33; background:radial-gradient(ellipse at 0% 0%, #b3141f26, transparent 60%), #221c1c; }
.extra-contact-head { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:end; }
.extra-contact-head .extra-actor-price { margin:0; padding:0; border:0; }
.extra-card-contact .extra-contact-head p:not(.eyebrow) { color:var(--muted); font-size:15px; line-height:1.7; margin:0; max-width:620px; }
.contact-levels { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:22px 0 0; padding:0; list-style:none; }
.contact-levels li { display:flex; flex-direction:column; gap:4px; padding:16px 18px 16px 60px; position:relative; border:1px solid #5c3a3a; border-radius:5px; background:#ffffff05; }
.contact-levels strong { font-size:18px; }
.contact-age { display:inline-block; margin-left:6px; padding:2px 7px; border-radius:4px; background:#b3141f; color:#fff; font-size:12px; font-style:normal; font-weight:800; vertical-align:3px; letter-spacing:.02em; }
.contact-levels li > span:not(.contact-level-num) { color:var(--muted); font-size:14px; line-height:1.55; }
.contact-level-max > span:not(.contact-level-num) { color:#ff8f95 !important; }
.contact-levels .contact-level-num { top:18px; transform:none; }
.contact-level-num { position:absolute; left:16px; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:30px; height:30px; border-radius:50%; border:1px solid #8f2a31; color:#ff8f95; font-weight:800; }
.contact-level-max { border-color:#b3141f; background:radial-gradient(ellipse at 100% 0%, #e0262f2e, transparent 70%), #2a1717; }
.extra-card-contact .extra-contact-note { margin:14px 0 0; color:var(--muted); font-size:13px; }
.contact-level-max .contact-level-num { background:#b3141f; border-color:#e0535b; color:#fff; }
@media(max-width:900px) { .extra-contact-head { grid-template-columns:1fr; gap:14px; } .contact-levels { grid-template-columns:1fr; } }
.extras-footnote { margin:20px 0 0; color:var(--muted); font-size:13px; line-height:1.8; }
@media(max-width:900px) { .extras-grid { grid-template-columns:1fr; gap:14px; } }
@media(max-width:480px) { .extra-card { padding:22px; } .extra-prices { grid-template-columns:1fr; } }

/* Reels maker block (animations and packages pages) */
.reels-block { display:grid; grid-template-columns:1fr 1.15fr; gap:44px; align-items:start; margin-top:50px; padding:36px; border:1px solid #8a3f6b; border-radius:6px; background:radial-gradient(ellipse at 0% 0%, #ff4f8b1f, transparent 55%), radial-gradient(ellipse at 100% 100%, #e3b66d1c, transparent 55%), #221c20; }
.reels-info .eyebrow { color:#ff8fb6; margin:0 0 14px; }
.reels-info h2 { font-size:clamp(28px,2.8vw,44px); line-height:1.1; margin:0 0 16px; }
.reels-info > p:not(.eyebrow) { color:var(--muted); font-size:16px; line-height:1.75; margin:0 0 24px; }
.reels-price { display:inline-flex; align-items:baseline; flex-wrap:wrap; gap:6px 10px; padding:14px 22px; border:1px solid #8a3f6b; border-radius:5px; background:#2e1f29; }
.reels-price strong { font-size:30px; color:var(--ivory); }
.reels-price span { color:#e6bfd2; font-size:14px; }
.reels-lists { display:grid; gap:22px; }
.reels-list-title { margin:0 0 10px; color:var(--muted); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.reels-lists ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.reels-lists li { position:relative; padding:12px 16px 12px 40px; border:1px solid #4a3442; border-radius:5px; background:#ffffff06; font-size:15px; line-height:1.5; }
.reels-lists li::before { content:"✦"; position:absolute; left:16px; top:12px; color:#ff8fb6; }
@media(max-width:900px) { .reels-block { grid-template-columns:1fr; gap:28px; } }
/* Белый мишка: свой блок как у рилсмейкера, но спокойнее — ледяной голубой, меньше отступы и свечение */
.bear-block { display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:center; margin-top:50px; padding:30px; border:1px solid #4d6b80; border-radius:6px; background:radial-gradient(ellipse at 0% 0%, #9fd4ff14, transparent 55%), #1f2225; }
.bear-info .eyebrow { color:#a9d8ff; margin:0 0 12px; }
.bear-info h2 { font-size:clamp(26px,2.3vw,36px); line-height:1.12; margin:0 0 14px; }
.bear-accent { color:#cfe9ff; }
.bear-info > p:not(.eyebrow) { color:var(--muted); font-size:15.5px; line-height:1.7; margin:0 0 20px; }
.bear-price { display:inline-flex; align-items:baseline; gap:10px; padding:11px 18px; border:1px solid #4d6b80; border-radius:5px; background:#232b31; }
.bear-price strong { font-size:26px; color:var(--ivory); }
.bear-price span { color:#bcd9ee; font-size:14px; }
.bear-points { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.bear-points li { position:relative; padding:12px 16px 12px 38px; border:1px solid #33424d; border-radius:5px; background:#ffffff05; font-size:15px; line-height:1.5; }
.bear-points li::before { content:"✦"; position:absolute; left:15px; top:12px; color:#a9d8ff; }
.theatre-compare-one { grid-template-columns:1fr; }
@media(max-width:900px) { .bear-block { grid-template-columns:1fr; gap:22px; } }
@media(max-width:480px) { .bear-block { padding:22px; margin-top:36px; } .bear-points li { padding:11px 14px 11px 34px; font-size:14px; } .bear-points li::before { left:13px; top:11px; } }
@media(max-width:480px) { .reels-block { padding:22px; margin-top:36px; } .reels-lists li { padding:11px 14px 11px 36px; font-size:14px; } .reels-lists li::before { left:14px; top:11px; } }

/* Venue tabs above the Yandex reviews widget */
.reviews-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:14px; padding:4px; border:1px solid #4d4232; border-radius:7px; background:#17161399; }
.reviews-tab { display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:10px 14px; border:1px solid transparent; border-radius:5px; background:none; color:var(--muted); font:inherit; font-size:15px; font-weight:700; text-align:left; cursor:pointer; transition:background .2s, color .2s, border-color .2s; }
.reviews-tab small { font-size:11.5px; font-weight:500; opacity:.8; }
.reviews-tab[aria-selected="true"] { background:linear-gradient(115deg,#ebc37e,#d9ab65); border-color:#f3cf8c; color:#221d14; }
@media (hover:hover) { .reviews-tab[aria-selected="false"]:hover { color:var(--ivory); border-color:#6b5a40; } }
@media (max-width:480px) { .reviews-tab { padding:9px 10px; font-size:14px; } .reviews-tab small { font-size:10.5px; } }

/* Reviews block on the About page (reuses the home page reviews layout) */
.about-reviews { margin-top:60px; padding:50px 0 10px; border-top:1px solid #65543b; }
.about-reviews-book { margin:22px 0 0; color:var(--muted); font-size:14px; line-height:1.7; }
.about-reviews-btn { padding:0; border:0; background:none; font:inherit; cursor:pointer; }
@media(max-width:760px) { .about-reviews { margin-top:40px; padding-top:36px; } }

/* «В пакете выгоднее» под калькулятором квест-анимации */
.package-deal { display:grid; gap:6px; margin-top:18px; padding:16px 18px; border:1px solid #e3b66d; border-radius:6px; background:linear-gradient(135deg,#e3b66d26,#e3b66d0a); color:var(--ivory); text-decoration:none; transition:border-color .2s, background .2s; }
.package-deal:hover { background:linear-gradient(135deg,#e3b66d38,#e3b66d14); }
.package-deal-badge { justify-self:start; padding:3px 9px; border-radius:999px; background:var(--gold); color:#1b1b19; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.package-deal strong { font-size:17px; }
.package-deal [data-deal-text] { font-size:14px; line-height:1.55; color:#e9dcc4; }
.package-deal-more { color:var(--gold); font-size:13px; font-weight:700; }
.price-room-note { margin:12px 0 0; padding:12px 14px; border:1px solid #e3b66d55; border-radius:5px; background:#e3b66d12; color:#e9dcc4; font-size:13.5px; line-height:1.55; }

/* "Build your own program" on the rest room page: room + add-ons */
.own-program { display:grid; gap:14px; }
.own-step { display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:start; padding:28px; border:1px solid #66553c; border-radius:6px; background:#23231f; }
.own-step-base { grid-template-columns:auto 1fr auto; align-items:center; border-color:#b99a64; background:radial-gradient(ellipse at 100% 0%, #d9ae6522, transparent 70%), #26231d; }
.own-step-num { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:linear-gradient(115deg,#ebc37e,#d9ab65); color:#221d14; font-weight:800; font-size:18px; }
.own-step h3 { font-size:clamp(21px,1.8vw,26px); margin:0 0 6px; }
.own-step p { margin:0; color:var(--muted); font-size:15px; line-height:1.6; }
.own-step-price { text-align:right; white-space:nowrap; }
.own-step-price strong { display:block; color:var(--gold); font-size:34px; line-height:1; }
.own-step-price span { color:var(--muted); font-size:13px; }
.own-addons { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:8px; }
.own-addons li { display:grid; grid-template-columns:250px minmax(0,1fr) 150px; gap:6px 18px; align-items:center; padding:14px 18px; border:1px solid #4d4232; border-radius:5px; background:#ffffff05; }
.own-addons a { color:var(--ivory); font-weight:700; text-decoration:underline; text-decoration-color:#e3b66d66; text-underline-offset:3px; }
.own-addons span { color:var(--muted); font-size:13.5px; line-height:1.45; }
.own-addons b { display:flex; flex-direction:column; align-items:flex-end; color:var(--gold); font-size:18px; white-space:nowrap; }
.own-addons small { color:var(--muted); font-size:11.5px; font-weight:500; }
@media(max-width:760px) {
  .own-step, .own-step-base { grid-template-columns:auto 1fr; padding:20px; gap:14px; }
  .own-step-price { grid-column:1 / -1; text-align:left; display:flex; align-items:baseline; gap:8px; }
  .own-step-body { grid-column:1 / -1; min-width:0; }
  .own-addons li { grid-template-columns:minmax(0,1fr) auto; padding:12px 14px; }
  .own-addons span { grid-column:1 / -1; grid-row:2; }
  .own-addons b { grid-row:1; grid-column:2; }
  .own-addons small { white-space:normal; text-align:right; }
}

/* Birthday page */
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; color:var(--muted); font-size:13px; }
.breadcrumbs a { color:var(--gold); }
.bday-intro { justify-self:end; max-width:500px; }
.bday-intro p { font-size:17px; line-height:1.8; color:var(--muted); margin:0 0 24px; }
.bday-steps { list-style:none; counter-reset:step; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.bday-steps li { counter-increment:step; position:relative; display:flex; }
.bday-steps li::before { content:"0" counter(step); position:absolute; top:20px; left:22px; z-index:1; color:var(--gold); font-size:13px; letter-spacing:.1em; pointer-events:none; }
/* Вся карточка — ссылка: подсветка рамки, лёгкий подъём и золотое «Подробнее» при наведении */
.bday-step { display:flex; flex-direction:column; width:100%; padding:56px 22px 22px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 100% 0%, #e3b66d10, transparent 60%), #23231f; color:var(--ivory); text-decoration:none; transition:border-color .25s, transform .25s, box-shadow .25s, background .25s; }
.bday-step:hover, .bday-step:focus-visible { border-color:var(--gold); transform:translateY(-3px); box-shadow:0 14px 34px #0007, 0 0 0 1px #e3b66d33; background:radial-gradient(ellipse at 100% 0%, #e3b66d26, transparent 65%), #262520; }
.bday-step:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.bday-steps strong { display:block; font-size:19px; line-height:1.3; margin-bottom:8px; }
.bday-steps span { color:var(--muted); font-size:14px; line-height:1.6; }
.bday-step-more { display:inline-flex; align-items:center; gap:8px; margin-top:auto; padding-top:18px; color:var(--gold); font-style:normal; font-size:14px; font-weight:700; }
.bday-step-more i { font-style:normal; transition:transform .25s; }
.bday-step:hover .bday-step-more i { transform:translateX(5px); }
@media (prefers-reduced-motion: reduce) { .bday-step, .bday-step-more i { transition:none; } .bday-step:hover { transform:none; } }
/* «Выгоднее с пакетным предложением»: по отдельности (зачёркнуто) против цены пакета */
.bday-deal-lead { max-width:720px; margin:-6px 0 22px; color:var(--muted); font-size:16px; line-height:1.7; }
.bday-deal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.bday-deal-card { position:relative; display:flex; flex-direction:column; padding:24px; border:1px solid #66553c; border-radius:6px; background:#23231f; color:var(--ivory); text-decoration:none; transition:border-color .25s, transform .25s, box-shadow .25s; }
.bday-deal-card:hover, .bday-deal-card:focus-visible { border-color:var(--gold); transform:translateY(-3px); box-shadow:0 14px 34px #0007; }
.bday-deal-card:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.bday-deal-best { border-color:#b99a64; background:radial-gradient(ellipse at 100% 0%, #e3b66d26, transparent 65%), #262420; }
.bday-deal-save { align-self:flex-start; margin-bottom:16px; padding:5px 11px; border-radius:999px; background:#5fbf7a1f; border:1px solid #5fbf7a66; color:#8fdca5; font-size:13px; font-weight:700; }
.bday-deal-card h3 { margin:0 0 6px; font-size:22px; }
.bday-deal-card h3 small { display:block; margin-top:4px; color:var(--gold); font-size:12px; font-weight:700; letter-spacing:.04em; }
.bday-deal-card p { margin:0 0 18px; color:var(--muted); font-size:14px; line-height:1.55; }
.bday-deal-card dl { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:auto 0 0; padding-top:16px; border-top:1px solid #66553c66; }
.bday-deal-card dt { color:var(--muted); font-size:12px; margin-bottom:4px; }
.bday-deal-card dd { margin:0; font-size:18px; font-weight:700; white-space:nowrap; }
.bday-deal-save { white-space:nowrap; }
.bday-deal-card s { color:#8f8676; text-decoration-color:#e0535bcc; text-decoration-thickness:2px; }
.bday-deal-pack dd { color:var(--gold); font-size:24px; }
.bday-deal-foot { display:flex; align-items:center; justify-content:space-between; gap:20px 32px; margin-top:22px; padding:20px 24px; border:1px dashed #66553c; border-radius:6px; }
.bday-deal-foot p { margin:0; max-width:760px; color:var(--muted); font-size:14.5px; line-height:1.65; }
.bday-deal-foot b { color:var(--ivory); }
.bday-deal-foot .button { flex:none; }
@media(max-width:1000px) { .bday-deal-grid { grid-template-columns:1fr; } .bday-deal-foot { flex-direction:column; align-items:flex-start; } }
@media (prefers-reduced-motion: reduce) { .bday-deal-card { transition:none; } .bday-deal-card:hover { transform:none; } }
.bday-stats { padding-top:50px; }
.faq { display:grid; gap:12px; }
.faq details { border:1px solid #66553c; border-radius:6px; background:#23231f; }
.faq summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 22px; font-size:17px; font-weight:600; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; flex-shrink:0; color:var(--gold); font-size:24px; line-height:1; transition:transform 200ms ease; }
.faq details[open] summary::after { transform:rotate(45deg); }
.faq summary:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:6px; }
.faq details p { margin:0; padding:0 22px 22px; color:var(--muted); font-size:15px; line-height:1.8; }
@media(max-width:1000px) { .bday-steps { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) { .bday-intro { justify-self:start; } .bday-intro p { font-size:15px; } }
@media(max-width:600px) { .bday-intro .rest-cta-actions { flex-direction:column; } .bday-intro .button { justify-content:space-between; } }
@media(max-width:480px) { .bday-steps { grid-template-columns:1fr; } .faq summary { font-size:16px; padding:18px; } .faq details p { padding:0 18px 18px; } }

/* Locations on the home page */
.locations { padding-block:20px 80px; }
.locations-heading { margin-bottom:28px; }
.locations-heading .eyebrow { color:var(--gold); margin-bottom:14px; }
.locations-heading h2 { font-size:clamp(32px,3.2vw,52px); line-height:1.1; margin:0; }
.locations-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.location-card { display:flex; align-items:center; gap:20px; padding:26px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 100% 0%,#d9ae6514,transparent 75%),#23231f; transition:border-color 220ms ease,box-shadow 220ms ease,transform 220ms ease; }
.location-pin { flex-shrink:0; display:grid; place-items:center; width:52px; height:52px; border:1px solid #66553c; border-radius:50%; color:var(--gold); }
.location-pin svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; }
.location-copy { display:flex; flex-direction:column; gap:6px; min-width:0; flex:1; }
.location-street { font-size:clamp(20px,1.7vw,26px); font-weight:700; line-height:1.25; }
.location-city { color:var(--muted); font-size:14px; }
.location-action { flex-shrink:0; display:flex; align-items:center; gap:8px; color:var(--gold); font-size:13px; letter-spacing:.06em; text-transform:uppercase; }
.location-action > span { transition:transform 220ms ease; }
@media(hover:hover) { .location-card:hover { border-color:#b99a64; box-shadow:0 8px 30px #0003; transform:translateY(-3px); } .location-card:hover .location-action > span { transform:translate(2px,-2px); } }
@media(max-width:860px) { .locations-grid { grid-template-columns:1fr; gap:14px; } }
@media(max-width:480px) { .locations { padding-bottom:55px; } .location-card { padding:20px; gap:14px; flex-wrap:wrap; } .location-pin { width:44px; height:44px; } .location-action { width:100%; justify-content:flex-end; } }

/* Rest room page */
.rest-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.rest-card h3 { font-size:clamp(24px,1.9vw,30px); line-height:1.2; margin:0 0 16px; }
.rest-card p { margin:auto 0 0; color:var(--muted); font-size:15px; line-height:1.7; }
.rest-link { color:var(--gold); text-decoration:underline; text-underline-offset:3px; }
.rest-cta { display:grid; grid-template-columns:1.3fr auto; align-items:center; gap:40px; margin-top:50px; padding:36px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 0% 100%,#d9ae6514,transparent 70%),#23231f; }
.rest-cta h2 { font-size:clamp(26px,2.4vw,38px); line-height:1.2; margin:0 0 14px; }
.rest-cta p { margin:0; max-width:560px; color:var(--muted); font-size:15px; line-height:1.7; }
.rest-cta-actions { display:flex; flex-wrap:wrap; gap:14px; }
@media(max-width:1000px) { .rest-grid { grid-template-columns:1fr 1fr; }.rest-cta { grid-template-columns:1fr; gap:24px; } }
@media(max-width:600px) { .rest-grid { grid-template-columns:1fr; gap:14px; }.rest-cta { padding:24px; margin-top:36px; }.rest-cta-actions { flex-direction:column; }.rest-cta-actions .button { justify-content:space-between; } }

/* Частые вопросы внизу страницы квеста */
.quest-product .quest-faq { margin-top:80px; padding-top:40px; border-top:1px solid #65543b; }
@media(max-width:760px) { .quest-product .quest-faq { margin-top:50px; padding-top:30px; } }
/* Таблица сравнения пакетов над карточками */
.pkg-compare { margin:0 0 34px; }
.pkg-compare-scroll { overflow-x:auto; border:1px solid #65543b; border-radius:6px; background:#ffffff04; }
.pkg-compare table { width:100%; min-width:720px; border-collapse:collapse; font-size:14px; }
.pkg-compare th, .pkg-compare td { padding:13px 16px; text-align:left; vertical-align:middle; border-bottom:1px solid #65543b55; }
.pkg-compare tbody tr:last-child > * { border-bottom:0; }
.pkg-compare thead th { color:var(--muted); font-size:12px; font-weight:600; letter-spacing:.04em; background:#ffffff06; white-space:nowrap; }
.pkg-compare thead small { display:block; font-size:11px; letter-spacing:0; opacity:.8; }
.pkg-compare tbody th { font-weight:700; font-size:15px; }
.pkg-compare tbody th a { color:var(--ivory); text-decoration:none; }
.pkg-compare tbody th a:hover { color:var(--gold); }
.pkg-compare tbody tr:hover { background:#e3b66d0d; }
.pkg-row-popular { background:#e3b66d12; }
.pkg-popular { display:block; margin-top:3px; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:.04em; }
.pkg-no { color:#6f6553; }
.pkg-price { white-space:nowrap; }
.pkg-price b { display:block; color:var(--gold); font-size:15px; }
.pkg-price small { color:var(--muted); font-size:12px; }
.pkg-compare-note { margin:10px 0 0; color:var(--muted); font-size:13px; line-height:1.6; }
@media(max-width:760px) {
  .pkg-compare th, .pkg-compare td { padding:11px 12px; }
  .pkg-compare tbody th, .pkg-compare thead th:first-child { position:sticky; left:0; z-index:1; background:#22211e; min-width:150px; }
  .pkg-compare-note::before { content:"Таблицу можно листать вправо → "; color:var(--gold); }
  .pkg-row-popular th { background:#2b2720 !important; }
}
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Видео из VK Видео: адаптивная рамка 16:9 */
.video-frame { position:relative; aspect-ratio:16 / 9; overflow:hidden; border:1px solid #66553c; border-radius:8px; background:#11110f; box-shadow:0 18px 50px #0006; }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-note { margin:12px 0 0; color:var(--muted); font-size:14px; }
.video-note a { font-variant-emoji:text; }

/* Страница «Квесты рядом с Обнинском» и гео-строки */
.geo-towns li span b { color: var(--gold, #d6b16a); font-weight: 600; }
.geo-quest-meta { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.quests-geo { margin-top: 8px; margin-bottom: 8px; }
.quests-geo p { margin: 0; padding: 18px 22px; border: 1px solid #3d3529; border-radius: 8px; background: #1f1e1b; color: var(--muted); line-height: 1.6; }
.quests-geo strong { color: var(--text, #f2ead9); }
.product-route dd { font-size: 14px; }

/* Свои шрифты заголовков хоррор-квестов (выбор владельца 10.11.2026) */
body[data-book-service="phobias"] .quest-product .product-summary h1 { font-family:'Underdog','Roboto Condensed',sans-serif; font-weight:400; letter-spacing:0; }
body[data-book-service="house121"] .quest-product .product-summary h1,
body[data-book-service="countdown"] .quest-product .product-summary h1 { font-family:'Oranienbaum','Roboto Condensed',serif; font-weight:400; letter-spacing:.01em; }
body[data-book-service="asylum"] .quest-product .product-summary h1 { font-family:'Rubik Wet Paint','Roboto Condensed',sans-serif; font-weight:400; letter-spacing:0; }
/* Красные заголовки хоррор-квестов: матовый «засохший» красный, без градиентов и свечения (выбор владельца) */
body[data-book-service="phobias"] .quest-product .product-summary h1,
body[data-book-service="house121"] .quest-product .product-summary h1,
body[data-book-service="countdown"] .quest-product .product-summary h1,
body[data-book-service="asylum"] .quest-product .product-summary h1 { color:#a8262c; }
body[data-book-service="house121"] .quest-product .product-summary h1 .gold { color:inherit; }

/* «Банк» и «Тюрьма» — одна локация */
.booking-note.shared-room { margin-top: 6px; }
.logical-shared { margin: -6px 0 18px; color: var(--muted); font-size: 14px; }

/* Шаги программы без ссылки (юбилей, семейный отдых): та же карточка, но без «подъёма» при наведении */
.bday-steps li:not(:has(> .bday-step)) { flex-direction:column; padding:56px 22px 22px; border:1px solid #66553c; border-radius:6px; background:radial-gradient(ellipse at 100% 0%, #e3b66d10, transparent 60%), #23231f; }

/* ---------- Анимация появления ---------- */
/* Прокрутка: блоки ниже первого экрана всплывают (класс .rv ставит app.js) */
.rv { opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); transition-delay:var(--rv-delay,0ms); }
.rv.rv-in { opacity:1; transform:none; }
/* Первый экран: мягкое проявление при открытии страницы */
@keyframes rv-up { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes rv-fade { from { opacity:0; } to { opacity:1; } }
.hero-copy > *, .offers-welcome > *, .catalog-intro > *, .product-summary > * { animation:rv-up .8s cubic-bezier(.2,.65,.3,1) both; }
.hero-copy > :nth-child(2), .offers-welcome > :nth-child(2), .catalog-intro > :nth-child(2), .product-summary > :nth-child(2) { animation-delay:.08s; }
.hero-copy > :nth-child(3), .catalog-intro > :nth-child(3), .product-summary > :nth-child(3) { animation-delay:.16s; }
.hero-copy > :nth-child(4), .catalog-intro > :nth-child(4), .product-summary > :nth-child(4) { animation-delay:.24s; }
.hero-copy > :nth-child(n+5), .catalog-intro > :nth-child(n+5), .product-summary > :nth-child(n+5) { animation-delay:.32s; }
.hero-art, .product-visual { animation:rv-fade 1.1s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity:1; transform:none; transition:none; }
  .hero-copy > *, .offers-welcome > *, .catalog-intro > *, .product-summary > *, .hero-art, .product-visual { animation:none; }
}

/* Страница результата онлайн-оплаты (pay.html) */
.pay-main { display:grid; place-items:center; min-height:60vh; }
.pay-card { width:min(640px,100%); padding:32px; border:1px solid #66553c; border-radius:10px; background:radial-gradient(ellipse at 100% 0%, #e3b66d14, transparent 60%), #23231f; }
.pay-title { font-size:clamp(28px,4vw,42px); line-height:1.15; margin:8px 0 16px; }
.pay-paid .pay-title { color:#7fd49a; }
.pay-fail .pay-title { color:#ff9a8c; }
.pay-text { color:var(--muted); line-height:1.7; margin:0 0 20px; }
.pay-booking { display:grid; gap:4px; margin:0 0 18px; padding:14px 16px; border:1px solid #3d3529; border-radius:8px; background:#1b1b19; }
.pay-booking b { font-size:18px; }
.pay-booking span { color:var(--muted); font-size:14px; }
.pay-actions { margin-top:4px; }
@media(max-width:480px) { .pay-card { padding:22px 18px; } }
