/* Expo2027 landing (/en|ru|sr/expo2027). Tokens and base classes come from styles.css; everything here is prefixed x27-. */
.x27 { --x27-grad: linear-gradient(100deg, #E82200 0%, #FF7A00 48%, #FFC700 100%); --x27-orange: #FF7A00; }
.x27 .container { position: relative; z-index: 1; }
.x27 [id] { scroll-margin-top: 84px; }
.x27 .section-title em { background: var(--x27-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.x27 .contact-title em { background: var(--x27-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* progressive reveal: content is visible without JS */
.x27-js .x27-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.x27-js .x27-rv.is-in { opacity: 1; transform: none; }

/* ── nav ── */
.x27-nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 20px 0; border-bottom: 1px solid transparent; transition: background .4s, padding .4s, border-color .4s; }
.x27-nav.scrolled { background: rgba(18,18,18,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 14px 0; border-color: var(--border); }
.x27-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.x27-links { display: flex; gap: 26px; margin: 0 auto; }
.x27-links .nav-link.is-on { color: var(--white); }
.x27-links .nav-link.is-on::after { content: ''; display: block; height: 1px; margin-top: 3px; background: var(--x27-grad); }
.x27-nav-r { display: flex; align-items: center; gap: 16px; }
.x27-nav .lang-btn { display: inline-block; }
.x27-burger { display: none; }
.x27-menu { display: none; position: fixed; inset: 0; z-index: 150; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.x27-menu.open { display: flex; }
.x27-menu a { font-size: 30px; color: var(--white); }
.x27-menu .x27-menu-home { font-size: 14px; color: var(--white-dim); letter-spacing: .08em; text-transform: uppercase; }
.x27-menu-lang { display: flex; gap: 12px; margin-top: 8px; }
.x27-menu-lang a { font-size: 13px; }
@media (max-width: 1100px) { .x27-links { display: none; } .x27-nav-r { margin-left: auto; } .x27-burger { display: flex; } }
@media (max-width: 560px) { .x27-nav .nav-cta { display: none; } }

/* ── hero ── */
.x27-hero { position: relative; padding: clamp(130px, 15vw, 190px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.x27-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 88% 10%, rgba(255,199,0,.06), transparent 70%), radial-gradient(50% 55% at 5% 90%, rgba(232,34,0,.16), transparent 70%); }
.x27-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.x27-eyebrow { display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); padding: 7px 14px; border: 1px solid rgba(255,199,0,.4); background: rgba(255,199,0,.06); margin-bottom: 26px; }
.x27-h1 { font-size: clamp(38px, 5.4vw, 80px); font-weight: 500; line-height: 1.02; letter-spacing: -.0625em; text-wrap: balance; margin-bottom: 26px; }
.x27-grad { background: var(--x27-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x27-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: rgba(245,245,245,.78); max-width: 560px; margin-bottom: 36px; }
.x27-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.x27-btn { padding: 17px 36px; box-shadow: 0 10px 30px -10px rgba(232,34,0,.7); }
.x27 .btn-ghost::after { content: '→'; }

.x27-count { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--border2); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.x27-count::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 85% 0%, rgba(255,199,0,.25), transparent 70%), radial-gradient(55% 55% at 0% 100%, rgba(232,34,0,.3), transparent 70%); }
.x27-orbit { position: absolute; z-index: -1; width: 112%; left: -6%; top: 50%; translate: 0 -50%; opacity: .6; pointer-events: none; }
.x27-o { transform-origin: 200px 200px; animation: x27spin 40s linear infinite; }
.x27-o2 { animation-duration: 70s; animation-direction: reverse; }
.x27-o3 { animation-duration: 55s; rotate: 60deg; }
.x27-o4 { animation-duration: 26s; }
@keyframes x27spin { to { transform: rotate(360deg); } }
.x27-count-unit { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 4px; max-width: 70%; }
.x27-count-days strong { display: block; font-weight: 500; font-size: clamp(110px, 13vw, 200px); line-height: .88; letter-spacing: -.06em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #FFE066 0%, #FFC700 45%, #FF7A00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 40px rgba(255,160,0,.25)); }
.x27-clock { display: flex; gap: 10px; margin: 16px 0 18px; }
.x27-clock div { flex: 1; min-width: 0; padding: 10px 6px 8px; text-align: center; background: rgba(18,18,18,.55); border: 1px solid var(--border2); }
.x27-clock b { display: block; font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--white); line-height: 1.1; }
.x27-clock span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--white-dim); }
.x27-count-note { font-size: 13px; color: var(--yellow); letter-spacing: .04em; }
.x27-count.is-open .x27-clock, .x27-count.is-open .x27-count-days { display: none; }
.x27-count.is-open .x27-count-unit { max-width: none; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--white); }
.x27-seal { position: absolute; right: 16px; top: 14px; width: clamp(84px, 9vw, 116px); }
.x27-seal-ring { transform-origin: 60px 60px; animation: x27spin 22s linear infinite; }

.x27-ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--border); background: rgb(18 18 18 / .6); }
.x27-ticker-track { display: flex; width: max-content; animation: x27tick 38s linear infinite; }
.x27-ticker ul { display: flex; flex: none; }
.x27-ticker li { display: flex; align-items: center; padding: 16px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--white-dim); white-space: nowrap; }
.x27-ticker li::after { content: '✦'; margin: 0 30px; color: var(--red); }
.x27-ticker li:nth-child(3n)::after { color: var(--yellow); }
@keyframes x27tick { to { transform: translateX(-50%); } }

/* ── sections ── */
.x27-sec { padding: clamp(72px, 9vw, 128px) 0; }
.x27-alt { background: rgb(26 26 26 / var(--sec-alpha)); }
.x27 #contact { background: rgb(26 26 26 / var(--sec-alpha)); }
.x27-head { max-width: 860px; margin-bottom: clamp(32px, 4vw, 56px); }
.x27-head .section-title { margin-bottom: 0; }
.x27-head .x27-lead { margin-top: 20px; }
.x27-lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; color: rgba(245,245,245,.78); max-width: 600px; }
.x27-fine { margin-top: 28px; font-size: 12.5px; color: var(--white-dim); max-width: 720px; line-height: 1.6; }

/* why now */
.x27-now { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.x27-now .section-title { margin-bottom: 24px; }
.x27-theme { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--yellow); font-size: 14px; line-height: 1.65; color: var(--white-dim); max-width: 600px; }
.x27-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border2); border: 1px solid var(--border2); list-style: none; }
.x27-stat { background: var(--bg2); padding: clamp(20px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 6px; }
.x27-stat b { font-size: clamp(34px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: var(--x27-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.x27-stat span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--white-dim); }
.x27-stats--row { grid-template-columns: repeat(4, 1fr); margin-bottom: 48px; }
.x27-tl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 36px; list-style: none; }
.x27-tl::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--x27-grad); opacity: .85; }
.x27-tl li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.x27-tl li::before { content: ''; position: absolute; left: 0; top: -36px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--yellow); }
.x27-tl li:first-child::before { border-color: var(--red); }
.x27-tl time { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.x27-tl b { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.x27-tl span { font-size: 14px; color: var(--white-dim); line-height: 1.55; }

/* who */
.x27-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.x27-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; background: var(--bg2); border: 1px solid var(--border); border-top: 2px solid var(--c); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.x27-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.x27-card:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 24px 50px -28px var(--c); }
.x27-ico { width: 48px; height: 48px; display: grid; place-items: center; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.x27-ico svg { width: 24px; height: 24px; }
.x27-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.x27-card p { font-size: 14.5px; line-height: 1.7; color: var(--white-dim); }
.x27-more { margin-top: auto; padding-top: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); display: inline-flex; gap: 8px; align-items: center; }
.x27-more i, .x27-pkg-btn i { font-style: normal; transition: transform .25s; }
.x27-more:hover i, .x27-pkg-btn:hover i { transform: translateX(5px); }

/* packages */
.x27-pkgs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.x27-pkg { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; background: var(--bg); border: 1px solid var(--border); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.x27-pkg.is-wide { grid-column: span 3; }
.x27-pkg::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--c); }
.x27-pkg:hover, .x27-pkg:target { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 28px 60px -30px var(--c); }
.x27-pkg.is-featured { background: linear-gradient(150deg, rgba(232,34,0,.14), rgba(255,199,0,.05) 60%, var(--bg)); border-color: rgba(232,34,0,.5); }
.x27-badge { position: absolute; top: 18px; right: 18px; padding: 5px 11px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #111; background: var(--yellow); font-weight: 600; }
.x27-pkg-for { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c); max-width: 75%; }
.x27-pkg h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.x27-price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 6px; }
.x27-price small { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--white-dim); }
.x27-price b { font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.05em; color: var(--yellow); line-height: 1; }
.x27-price .x27-price-req { font-size: clamp(24px, 2.6vw, 32px); color: var(--white); }
.x27-pkg ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin-bottom: 10px; }
.x27-pkg li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.55; color: rgba(245,245,245,.86); }
.x27-pkg li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg); }
.x27-pkg-btn { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); border: 1px solid var(--border2); transition: background .25s, color .25s, border-color .25s; }
.x27-pkg-btn:hover, .x27-pkg.is-featured .x27-pkg-btn { background: var(--c); border-color: var(--c); color: #fff; }
.x27-pkg:nth-child(3) .x27-pkg-btn:hover, .x27-pkg:nth-child(4) .x27-pkg-btn:hover { color: #111; }

/* why */
.x27-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.x27-why-i { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
.x27-why-i:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--border); padding-right: 0; }
.x27-n { grid-row: span 2; font-size: 13px; letter-spacing: .12em; color: var(--red); padding-top: 6px; }
.x27-why-i h3 { font-size: 21px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 8px; }
.x27-why-i p { font-size: 14.5px; line-height: 1.7; color: var(--white-dim); }

/* work */
.x27-reels { display: grid; grid-template-columns: 1.58fr 1fr 1fr; gap: 16px; }
.x27-reel { position: relative; overflow: hidden; background: #1b1b1b; border: 1px solid var(--border); isolation: isolate; }
.x27-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.x27-reel:hover video { transform: scale(1.04); }
.x27-reel--tall { grid-row: span 2; }
.x27-reel--wide { grid-column: 1; aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
  .x27-reel--wide:nth-child(n+5) { grid-column: auto; }
  .x27-reel--wide:nth-child(n+5):not(:nth-child(5)):not(:nth-child(8)) { aspect-ratio: auto; }
}
.x27-reel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,18,18,.94) 0%, rgba(18,18,18,.78) 38%, rgba(18,18,18,0) 78%); pointer-events: none; }
.x27-reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 70px 18px 20px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.x27-reel figcaption span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.x27-reel figcaption b { font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.x27-play { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(232,34,0,.8); transition: transform .25s, background .25s; }
.x27-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.x27-play::before { content: ''; position: absolute; inset: 0; z-index: 0; }
.x27-reel:hover .x27-play { transform: scale(1.1); background: #ff3a14; }
.x27-play:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.x27-dialog { border: 0; padding: 0; background: #000; width: min(1100px, 94vw); max-height: 92vh; margin: auto; }
.x27-dialog::backdrop { background: rgba(0,0,0,.86); }
.x27-dialog video { display: block; width: 100%; max-height: 92vh; background: #000; }
.x27-dialog-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; font-size: 18px; color: #fff; background: rgba(0,0,0,.55); border-radius: 50%; }

/* process */
.x27-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: s; }
.x27-steps li { counter-increment: s; position: relative; padding-top: 22px; border-top: 1px solid var(--border2); }
.x27-steps li::before { content: '0' counter(s); display: block; font-size: clamp(48px, 5.4vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.06em; margin-bottom: 18px; background: var(--x27-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x27-steps li::after { content: ''; position: absolute; left: 0; top: -1px; width: 38%; height: 2px; background: var(--x27-grad); }
.x27-steps h3 { font-size: 21px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 8px; }
.x27-steps p { font-size: 14.5px; line-height: 1.7; color: var(--white-dim); }

/* faq */
.x27-faq { max-width: 900px; border-top: 1px solid var(--border2); }
.x27-faq details { border-bottom: 1px solid var(--border2); }
.x27-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.8vw, 21px); letter-spacing: -.03em; transition: color .2s; }
.x27-faq summary::-webkit-details-marker { display: none; }
.x27-faq summary:hover, .x27-faq details[open] summary { color: var(--yellow); }
.x27-faq summary i { position: relative; flex: none; width: 22px; height: 22px; }
.x27-faq summary i::before, .x27-faq summary i::after { content: ''; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--red); transition: transform .3s; }
.x27-faq summary i::after { transform: rotate(90deg); }
.x27-faq details[open] summary i::after { transform: rotate(0); }
.x27-faq details p { padding: 0 44px 26px 4px; max-width: 70ch; font-size: 15px; line-height: 1.75; color: var(--white-dim); }

/* contact / form (shared .contact-* and .form-* from styles.css) */
.x27 .contact-grid { gap: clamp(32px, 6vw, 80px); }
.x27 .contact-form { border: 1px solid var(--border2); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); position: relative; }
.x27 .contact-form::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--x27-grad); }
.x27 .contact-link-icon { color: var(--yellow); }

footer a[aria-current="page"] { color: var(--yellow); }

/* ── responsive ── */
@media (max-width: 1100px) {
  .x27-who { grid-template-columns: repeat(2, 1fr); }
  .x27-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 900px) {
  .x27-hero-grid, .x27-now { grid-template-columns: 1fr; }
  .x27-pkgs { grid-template-columns: 1fr; }
  .x27-pkg, .x27-pkg.is-wide { grid-column: auto; }
  .x27 .contact-grid { grid-template-columns: 1fr; }
  .x27-why { grid-template-columns: 1fr; }
  .x27-why-i, .x27-why-i:nth-child(even) { padding: 24px 0; border-left: 0; }
  .x27-stats--row { grid-template-columns: 1fr 1fr; }
  .x27-tl { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 28px; }
  .x27-tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .x27-tl li::before { left: -34px; top: 2px; }
}
@media (max-width: 767px) {
  .x27-who { grid-template-columns: 1fr; }
  .x27-reels { grid-template-columns: 1fr 1fr; }
  .x27-reel--tall { grid-row: auto; aspect-ratio: 9 / 16; }
  .x27-reel--wide { grid-column: 1 / -1; }
  .x27-steps { grid-template-columns: 1fr; }
  .x27-btn { width: 100%; text-align: center; }
  .x27-count-unit { max-width: 62%; }
  .x27-pkg-for { max-width: 100%; margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .x27-o, .x27-seal-ring, .x27-ticker-track { animation: none !important; }
  .x27-js .x27-rv { opacity: 1; transform: none; transition: none; }
  .x27-card, .x27-pkg, .x27-reel video { transition: none; }
}

/* ── expandable blocks: the whole block is clickable, extra text opens inside it ── */
.x27-det { margin-top: 4px; }
.x27-det summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--yellow)); user-select: none; }
.x27-det summary::-webkit-details-marker { display: none; }
.x27-det .x27-m2, .x27-det[open] .x27-m1 { display: none; }
.x27-det[open] .x27-m2 { display: inline; }
.x27-det summary i { position: relative; width: 14px; height: 14px; flex: none; }
.x27-det summary i::before, .x27-det summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .3s; }
.x27-det summary i::after { transform: rotate(90deg); }
.x27-det[open] summary i::after { transform: rotate(0); }
.x27-det p { margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--border2); font-size: 14px !important; line-height: 1.7 !important; color: rgba(245,245,245,.88) !important; animation: x27open .4s var(--ease); }
@keyframes x27open { from { opacity: 0; transform: translateY(-6px); } }
.x27-card, .x27-pkg, .x27-why-i, .x27-steps li, .x27-tl li { cursor: pointer; }
.x27-card:has(details[open]), .x27-pkg:has(details[open]) { border-color: var(--c); }
.x27-why-i .x27-det, .x27-steps .x27-det, .x27-tl .x27-det { --c: var(--yellow); grid-column: 2; }
.x27-steps .x27-det, .x27-tl .x27-det { grid-column: auto; }
.x27-pkg .x27-det { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .x27-det p { animation: none; } }

/* ═══ motion layer (all of it is switched off under prefers-reduced-motion) ═══ */
.x27-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--x27-grad); pointer-events: none; }

/* hero entrance: eyebrow → title → text → buttons → counter */
.x27-js .x27-hero-copy > *, .x27-js .x27-count { animation: x27rise .9s var(--ease) both; }
.x27-js .x27-hero-copy > :nth-child(1) { animation-delay: .05s; }
.x27-js .x27-hero-copy > :nth-child(2) { animation-delay: .18s; }
.x27-js .x27-hero-copy > :nth-child(3) { animation-delay: .34s; }
.x27-js .x27-hero-copy > :nth-child(4) { animation-delay: .48s; }
.x27-js .x27-count { animation-delay: .3s; animation-name: x27rise, x27float; animation-duration: .9s, 7s; animation-delay: .3s, 1.4s; animation-iteration-count: 1, infinite; animation-timing-function: var(--ease), ease-in-out; animation-direction: normal, alternate; }
@keyframes x27rise { from { opacity: 0; transform: translateY(34px); } }
@keyframes x27float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.x27-grad { background-size: 200% 100%; animation: x27shift 6s ease-in-out infinite alternate; }
@keyframes x27shift { to { background-position: 100% 0; } }
.x27-eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--red); animation: x27pulse 1.6s ease-out infinite; vertical-align: 1px; }
@keyframes x27pulse { 0% { box-shadow: 0 0 0 0 rgba(232,34,0,.7); } 100% { box-shadow: 0 0 0 10px rgba(232,34,0,0); } }
.x27-btn { position: relative; overflow: hidden; }
.x27-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); animation: x27shine 4.5s ease-in-out 2s infinite; }
@keyframes x27shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.x27-clock b.tick { animation: x27clock .35s var(--ease); }
@keyframes x27clock { from { transform: translateY(-40%); opacity: 0; } }
.x27-count { --rx: 0deg; --ry: 0deg; }

/* heading accent + section label draw in */
.x27-js .x27-head .section-label::before { width: 0; transition: width .8s var(--ease) .2s; }
.x27-js .x27-head.is-in .section-label::before, .x27-js .x27-now-copy.is-in .section-label::before { width: 24px; }
.x27-js .x27-head .section-title em { background-size: 0% 100%; background-repeat: no-repeat; background-image: var(--x27-grad); transition: background-size 1s var(--ease) .35s; }
.x27-js .x27-head.is-in .section-title em { background-size: 100% 100%; }

/* timeline line and process lines grow when revealed */
.x27-tl::before { transform-origin: 0 50%; transition: transform 1.4s var(--ease) .2s; }
.x27-js .x27-tl.x27-rv:not(.is-in)::before { transform: scaleX(0); }
.x27-tl li::before { transition: transform .5s var(--ease) calc(.5s + var(--i) * .35s); }
.x27-js .x27-tl.x27-rv:not(.is-in) li::before { transform: scale(0); }
.x27-steps li::after { width: 0; transition: width 1.1s var(--ease) calc(.2s + var(--i) * .15s); }
.x27-steps li.is-in::after { width: 38%; }
.x27-steps li:hover::after { width: 100%; }
.x27-stat { transition: background .3s; }
.x27-stat:hover { background: var(--bg3); }

/* spotlight that follows the pointer + 3D tilt on cards */
.x27-card, .x27-pkg, .x27-why-i, .x27-reel { --mx: 50%; --my: 50%; }
.x27-card::after, .x27-pkg::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 65%); }
.x27-card:hover::after, .x27-pkg:hover::after { opacity: 1; }
.x27-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) !important; transition: transform .15s ease-out, border-color .25s, box-shadow .35s !important; }
.x27-pkg > *, .x27-card > * { position: relative; z-index: 1; }
.x27-ico { transition: transform .5s var(--ease), background .3s; }
.x27-card:hover .x27-ico { transform: rotate(-8deg) scale(1.12); background: color-mix(in srgb, var(--c) 22%, transparent); }
.x27-price b { background: linear-gradient(100deg, #FFC700 30%, #fff 50%, #FFC700 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: x27gleam 5s linear infinite; }
.x27-price .x27-price-req { background: none; color: var(--white); animation: none; }
@keyframes x27gleam { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.x27-n { transition: transform .4s var(--ease), color .3s; }
.x27-why-i:hover .x27-n { transform: translateX(6px); color: var(--yellow); }
.x27-why-i, .x27-steps li, .x27-tl li { transition: opacity .7s var(--ease), transform .7s var(--ease), background .3s; }
.x27-ticker:hover .x27-ticker-track { animation-play-state: paused; }

/* alternate reveal directions */
.x27-js .x27-who .x27-rv:not(.is-in):nth-child(odd), .x27-js .x27-pkgs .x27-rv:not(.is-in):nth-child(odd) { transform: translate(-22px, 26px); }
.x27-js .x27-who .x27-rv:not(.is-in):nth-child(even), .x27-js .x27-pkgs .x27-rv:not(.is-in):nth-child(even) { transform: translate(22px, 26px); }
.x27-js .x27-rv.is-in:not(.x27-tilt) { transform: none; }
.x27-js .x27-card.is-in:not(.x27-tilt):hover, .x27-js .x27-pkg.is-in:not(.x27-tilt):hover { transform: translateY(-5px); }
/* the wipe sits on the video, not on the figure: a fully clipped target never intersects, so the reveal observer would never fire */
.x27-js .x27-reel.x27-rv:not(.is-in) video { clip-path: inset(0 0 100% 0); }
.x27-reel.x27-rv { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.x27-reel video { clip-path: inset(0); transition: transform .8s var(--ease), clip-path 1s var(--ease); }

/* smooth open/close of the extra text and FAQ answers */
@supports (interpolate-size: allow-keywords) {
  .x27-det, .x27-faq details { interpolate-size: allow-keywords; }
  .x27-det::details-content, .x27-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .x27-det[open]::details-content, .x27-faq details[open]::details-content { block-size: auto; }
}
.x27-faq details[open] p { animation: x27open .45s var(--ease); }
.x27-faq summary { transition: color .2s, padding-left .3s var(--ease); }
.x27-faq summary:hover { padding-left: 12px; }
.x27-contact-glow { transition: box-shadow .4s; }
.x27 .contact-form:focus-within { box-shadow: 0 30px 80px -40px rgba(232,34,0,.55); }
.x27 .form-input:focus, .x27 .form-select:focus, .x27 .form-textarea:focus { box-shadow: 0 0 0 3px rgba(232,34,0,.18); }
.x27-play { animation: x27ring 2.4s ease-out infinite; }
@keyframes x27ring { 0% { box-shadow: 0 8px 24px -6px rgba(232,34,0,.8), 0 0 0 0 rgba(232,34,0,.55); } 100% { box-shadow: 0 8px 24px -6px rgba(232,34,0,.8), 0 0 0 16px rgba(232,34,0,0); } }

@media (prefers-reduced-motion: reduce) {
  .x27 *, .x27 *::before, .x27 *::after { animation: none !important; }
  .x27-progress { display: none; }
  .x27-tilt { transform: none !important; }
  .x27-js .x27-reel.x27-rv:not(.is-in) video { clip-path: none; }
}

/* audit fixes */
.x27-pkg > .x27-badge { position: absolute; z-index: 2; }              /* "> *" rule above made it position:relative → full-width bar overlapping the label */
.x27-h1 { word-spacing: .08em; }                                         /* tight tracking glued "Expo2027." to the next word */
.x27-stat span { overflow-wrap: anywhere; }
.x27 .form-input::placeholder, .x27 .form-textarea::placeholder { text-overflow: ellipsis; }

/* Belgrade photo band */
.x27-city { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(190px, 24vw, 340px); gap: 14px; }
.x27-ph { position: relative; overflow: hidden; margin: 0; background: #1b1b1b; }
.x27-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.x27-ph:hover img { transform: scale(1.04); }
.x27-ph::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }
.x27-ph figcaption { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.x27-ph figcaption::before { content: ''; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--x27-grad); }
.x27-ph.is-a { grid-column: span 7; }
.x27-ph.is-b { grid-column: span 5; }
.x27-ph.is-c { grid-column: span 4; }
.x27-ph.is-d { grid-column: span 5; }
.x27-ph.is-e { grid-column: span 7; }
.x27-ph.is-f { grid-column: span 12; }
.x27-ph.is-f img { object-position: 50% 30%; }
.x27-credit { margin-top: 14px; font-size: 11px; line-height: 1.7; color: rgba(245,245,245,.4); }
.x27-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(245,245,245,.18); }
.x27-credit a:hover { color: var(--yellow); }
@media (max-width: 700px) {
  .x27-city { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; }
  .x27-ph.is-a { grid-column: span 2; grid-row: span 2; }
  .x27-ph.is-b, .x27-ph.is-c, .x27-ph.is-d { grid-column: span 1; }
  .x27-ph.is-e { grid-column: span 2; }
  .x27-ph.is-f { grid-column: span 2; }
  .x27-ph figcaption { left: 12px; bottom: 10px; font-size: 10px; letter-spacing: .1em; }
  .x27-ph figcaption::before { width: 12px; margin-right: 7px; }
}

/* gradient text clipped at the right edge / descenders: background-clip:text paints only inside the line box, and negative tracking
   pulls the last glyph past it. Extra padding enlarges the painted box; negative margins keep the layout unchanged. */
.x27 .section-title em, .x27 .contact-title em, .x27-grad { padding: 0 .12em .14em 0; margin-right: -.12em; margin-bottom: -.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.x27-stat b { display: block; padding: 0 .08em .16em 0; margin-bottom: -.16em; line-height: 1.04; }
.x27-count-days strong { padding: 0 .08em .1em 0; }
.x27-steps li::before { padding: 0 .08em .1em 0; }

/* work tiles never look empty: a branded placeholder sits behind the poster/video */
.x27-reel { background: linear-gradient(135deg, #2a1410 0%, #1b1b1b 55%, #2b2208 100%); min-height: 200px; }

/* packages: equal cards, 3 + 2 centred (the two wide ones used to tower over the rest) */
@media (min-width: 901px) {
  .x27-pkgs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .x27-pkg, .x27-pkg.is-wide { grid-column: span 2; padding: 28px 24px 24px; }
  .x27-pkg:nth-child(4) { grid-column: 2 / span 2; }
  .x27-pkg:nth-child(5) { grid-column: 4 / span 2; }
  .x27-pkg h3 { font-size: clamp(24px, 2.2vw, 30px); }
  .x27-price b { font-size: clamp(30px, 2.9vw, 40px); }
  .x27-price .x27-price-req { font-size: clamp(22px, 2vw, 27px); }
  .x27-pkg-for { max-width: 100%; margin-top: 20px; }
}

/* photo of the Expo site behind the "why now" block, lit by drifting colour glows like the page background */
#why-now { position: relative; overflow: hidden; }
.x27-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.x27-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: .62; filter: saturate(.85) brightness(.82); }
.x27-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,.6) 42%, rgba(18,18,18,.18) 100%); }
.x27-glow { position: absolute; z-index: 1; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); opacity: .55; will-change: transform; }
.x27-glow.g1 { width: 520px; height: 520px; left: -140px; top: -120px; background: var(--red); animation: x27glow1 13s ease-in-out infinite alternate; }
.x27-glow.g2 { width: 460px; height: 460px; right: -80px; top: 10%; background: var(--yellow); opacity: .42; animation: x27glow2 16s ease-in-out infinite alternate; }
.x27-glow.g3 { width: 420px; height: 420px; left: 40%; bottom: -180px; background: #FF7A00; opacity: .45; animation: x27glow3 11s ease-in-out infinite alternate; }
@keyframes x27glow1 { to { transform: translate(90px, 60px) scale(1.12); } }
@keyframes x27glow2 { to { transform: translate(-70px, 80px) scale(.94); } }
@keyframes x27glow3 { to { transform: translate(-60px, -50px) scale(1.1); } }
@media (max-width: 900px) {
  .x27-photo::after { background: linear-gradient(180deg, rgba(18,18,18,.78), rgba(18,18,18,.62)); }
  .x27-glow { width: 320px !important; height: 320px !important; }
}
@media (prefers-reduced-motion: reduce) { .x27-glow { animation: none; } }

/* Expo renders: one large frame on the left, two stacked on the right */
@media (min-width: 701px) {
  .x27-ph.is-a { grid-column: span 8; grid-row: span 2; }
  .x27-ph.is-b, .x27-ph.is-c { grid-column: span 4; grid-row: span 1; }
}

/* smoothness pass: phones / touch get a static page — no animated glows, no backdrop blur */
@media (hover: none), (max-width: 900px) {
  .x27-glow { animation: none !important; will-change: auto; }
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .x27-nav.scrolled { background: rgba(18,18,18,.96); }
  .x27-count { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); }
}

/* outcome line under each work card */
.x27-reel figcaption .x27-out { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--white-dim); }
.x27-reel figcaption .x27-out em { font-style: normal; color: var(--yellow); margin-right: 4px; }
@media (max-width: 600px) { .x27-reel figcaption .x27-out { font-size: 11.5px; line-height: 1.4; } .x27-reel figcaption { padding-right: 62px; } }

/* contact chooser + floating button */
.x27-ch { border: 1px solid var(--border2); background: #1a1a1a; color: var(--white); padding: 28px; border-radius: 24px; width: min(92vw, 440px); margin: auto; }
.x27-ch::backdrop { background: rgba(0,0,0,.72); }
.x27-ch h3 { font-size: 22px; font-weight: 500; letter-spacing: -.04em; margin: 0 40px 8px 0; }
.x27-ch p { font-size: 14px; line-height: 1.6; color: var(--white-dim); margin-bottom: 18px; }
.x27-ch .x27-dialog-x { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 15px; background: rgba(255,255,255,.1); }
.x27-ch-links { display: grid; gap: 8px; }
.x27-ch-links a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 99px; border: 1px solid var(--border2); background: rgba(255,255,255,.04); font-size: 15px; transition: background .2s, border-color .2s; }
.x27-ch-links a:hover { background: rgba(255,255,255,.1); border-color: var(--yellow); }
.x27-ch-links a svg { width: 20px; height: 20px; flex: none; }
.x27-ch-links a span { flex: 1; }
.x27-ch-links a svg:last-child { width: 16px; height: 16px; color: var(--yellow); }
.x27-fab { position: fixed; left: 18px; bottom: 18px; z-index: 40; padding: 14px 22px; border-radius: 99px; background: var(--red); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px -8px rgba(232,34,0,.8); transform: translateY(90px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s; }
.x27-fab.on { transform: none; opacity: 1; pointer-events: auto; }
