/* HotelGEX Public 2.7.11 — HGX Research (hub, edition landing, promo).
   Scoped to .hgx-rs / .hgx-rs-pop. Uses the public design tokens (lime, deep green, Manrope/DM Sans). */
.hgx-rs{--rs-lime:#c7ff52;--rs-deep:#04110b;--rs-deep2:#0d2c20;--rs-ink:#0c1f18;--rs-muted:#5d6b64;--rs-line:#dce6e0;--rs-soft:#f3f6f3;font-family:"DM Sans",system-ui,sans-serif;color:var(--rs-ink)}
.hgx-rs .hgx-container{width:min(1180px,calc(100% - 48px));margin:0 auto}
.hgx-rs h1,.hgx-rs h2,.hgx-rs h3{font-family:"Manrope",sans-serif!important;letter-spacing:-.02em}
.hgx-rs-kicker{display:inline-block;font:800 11px/1.2 "Manrope",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--rs-lime)!important;text-decoration:none!important;margin-bottom:18px}
.hgx-rs-kicker.dark{color:#557000!important}
.hgx-rs-btn{display:inline-flex!important;align-items:center;gap:8px;min-height:48px;padding:12px 20px!important;border-radius:10px!important;background:var(--rs-lime)!important;color:#08130d!important;border:1px solid #b6ed45!important;font:800 14px/1.2 "Manrope",sans-serif!important;text-decoration:none!important;cursor:pointer;transition:transform .15s ease,background .15s ease}
.hgx-rs-btn:hover{transform:translateY(-1px);background:#d8ff80!important}
.hgx-rs-btn span{color:inherit!important}

/* hero */
.hgx-rs-hero{position:relative;overflow:hidden;padding:96px 0 84px;color:#fff;background:radial-gradient(circle at 78% 20%,rgba(199,255,82,.16),transparent 30%),linear-gradient(135deg,#020906,#071711 58%,#0d2c20)}
.hgx-rs-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:56px 56px;pointer-events:none}
.hgx-rs-hero .hgx-container{position:relative;z-index:1}
.hgx-rs-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:64px;align-items:center}
.hgx-rs-hero h1{color:#fff!important;font-weight:800!important;font-size:clamp(46px,6vw,84px)!important;line-height:.98!important;margin:0 0 22px!important}
.hgx-rs .hgx-rs-lead{color:rgba(255,255,255,.8)!important;font-size:19px!important;line-height:1.6!important;max-width:680px;margin:0 0 28px}
.hgx-rs-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hgx-rs-note{color:rgba(255,255,255,.6);font-size:13px}
.hgx-rs-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:44px}
.hgx-rs-stats div{border-top:2px solid var(--rs-lime);padding-top:12px}
.hgx-rs-stats b{display:block;font:800 34px/1 "Manrope",sans-serif;color:var(--rs-lime)}
.hgx-rs-stats span{display:block;margin-top:8px;font-size:13px;line-height:1.4;color:rgba(255,255,255,.72)}
.hgx-rs-cover{margin:0;justify-self:center;perspective:1400px}
.hgx-rs-cover img{display:block;width:min(400px,100%);height:auto;border-radius:6px;box-shadow:0 40px 90px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08);transform:rotateY(-10deg) rotateX(3deg);transition:transform .4s ease}
.hgx-rs-cover img:hover{transform:rotateY(-3deg)}
.hgx-rs-hero--hub{padding-bottom:70px}

/* thesis */
.hgx-rs-thesis{background:var(--rs-lime);padding:34px 0;text-align:center}
.hgx-rs-thesis p{margin:0!important;font:800 clamp(20px,2.4vw,30px)/1.3 "Manrope",sans-serif!important;color:#07130d!important;letter-spacing:-.01em}
.hgx-rs-thesis span{display:block;margin-top:6px;font-size:13px;color:#2b3b10}

/* sections */
.hgx-rs-section{padding:88px 0;background:#fff}
.hgx-rs-previews,.hgx-rs-faq{background:var(--rs-soft)}
.hgx-rs-head{max-width:760px;margin-bottom:38px}
.hgx-rs-head h2{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.08!important;margin:0!important;color:var(--rs-ink)!important;font-weight:800!important}
.hgx-rs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hgx-rs-grid article{background:var(--rs-soft);border:1px solid var(--rs-line);border-radius:18px;padding:26px}
.hgx-rs-grid article span{font:700 12px/1 ui-monospace,Menlo,monospace;color:#557000}
.hgx-rs-grid article h3{font-size:19px!important;margin:10px 0 8px!important;color:var(--rs-ink)!important;font-weight:800!important}
.hgx-rs-grid article p{margin:0;font-size:15px!important;line-height:1.55;color:var(--rs-muted)}
.hgx-rs-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hgx-rs-shots figure{margin:0}
.hgx-rs-shots img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:0 18px 50px rgba(8,31,21,.14);border:1px solid var(--rs-line)}
.hgx-rs-shots figcaption{margin-top:12px;font-weight:700;font-size:14px;color:var(--rs-ink)}

/* form */
.hgx-rs-formwrap{background:linear-gradient(180deg,#fff,#f3f6f3)}
.hgx-rs-form-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start}
.hgx-rs-form-copy h2{font-size:clamp(28px,3vw,40px)!important;line-height:1.1!important;margin:0 0 16px!important;color:var(--rs-ink)!important;font-weight:800!important}
.hgx-rs-form-copy p{color:var(--rs-muted);font-size:16px!important;line-height:1.6}
.hgx-rs-checks{list-style:none;padding:0;margin:22px 0 0}
.hgx-rs-checks li{position:relative;padding-left:28px;margin-bottom:10px;font-weight:600}
.hgx-rs-checks li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--rs-lime);color:#07130d;font-size:12px;display:grid;place-items:center;font-weight:800}
.hgx-rs-form{padding:30px!important}
.hgx-rs-form .hgx-form-grid{gap:16px}
.hgx-rs-form label>span{font-size:13px}
.hgx-rs-form .hgx-check{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-weight:500!important;font-size:13px!important;line-height:1.45;color:var(--rs-muted)!important}
.hgx-rs-form .hgx-check input{width:18px!important;height:18px;flex:0 0 18px;margin-top:2px;padding:0!important}
.hgx-rs-form .hgx-check a{color:#3f5a00}
.hgx-rs-form .hgx-form-submit{margin-top:20px;width:100%;justify-content:center}
.hgx-rs-hint{min-height:1em;font-weight:600;font-size:12px;color:#b24e36}
.hgx-rs-form input.is-invalid{border-color:#b24e36!important;box-shadow:0 0 0 4px rgba(178,78,54,.12)!important}
.hgx-rs-edition-lang{border:0;padding:0;margin:0;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.hgx-rs-edition-lang legend{font-size:13px;font-weight:700;margin-bottom:8px;padding:0}
.hgx-rs-edition-lang label{flex-direction:row!important;align-items:center;gap:8px!important;font-weight:600!important}
.hgx-rs-edition-lang input{width:auto!important;padding:0!important}
.hgx-rs-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.hgx-rs-error{background:#fbe9e4;border:1px solid #efc2b5;color:#8e3521;border-radius:12px;padding:12px 14px;margin-bottom:16px;font-weight:600;font-size:14px}
.hgx-rs-panel{background:#fff;border:1px solid var(--rs-line);border-radius:24px;padding:34px;box-shadow:0 24px 60px rgba(8,31,21,.08)}
.hgx-rs-panel h3{font-size:24px!important;margin:0 0 10px!important;color:var(--rs-ink)!important;font-weight:800!important}
.hgx-rs-panel p{color:var(--rs-muted);line-height:1.6;margin:0 0 20px}
.hgx-rs-panel.is-sent,.hgx-rs-panel.is-ready{border-color:#b6ed45;box-shadow:0 24px 60px rgba(120,170,20,.14)}
.hgx-rs-panel.is-warning{border-color:#efc2b5}
.hgx-rs-small{font-size:13px!important;margin:18px 0 0!important}

/* faq */
.hgx-rs-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hgx-rs-faq details{background:#fff;border:1px solid var(--rs-line);border-radius:16px;padding:18px 22px}
.hgx-rs-faq summary{cursor:pointer;font:800 16px/1.3 "Manrope",sans-serif;color:var(--rs-ink)}
.hgx-rs-faq details p{margin:10px 0 0;color:var(--rs-muted);line-height:1.6}

/* hub */
.hgx-rs-editions{display:grid;gap:24px}
.hgx-rs-edition{display:grid;grid-template-columns:220px 1fr;gap:36px;align-items:center;background:var(--rs-soft);border:1px solid var(--rs-line);border-radius:24px;padding:28px;text-decoration:none!important;color:var(--rs-ink)!important;transition:box-shadow .2s ease,transform .2s ease}
.hgx-rs-edition:hover{box-shadow:0 24px 60px rgba(8,31,21,.10);transform:translateY(-2px)}
.hgx-rs-edition img{width:100%;height:auto;border-radius:6px;box-shadow:0 18px 40px rgba(0,0,0,.2)}
.hgx-rs-edition h2{font-size:clamp(28px,3vw,40px)!important;margin:10px 0!important;color:var(--rs-ink)!important;font-weight:800!important}
.hgx-rs-edition p{color:var(--rs-muted);font-size:17px!important;line-height:1.55}
.hgx-rs-badge{display:inline-block;background:var(--rs-lime);color:#07130d;border-radius:20px;padding:4px 12px;font:800 11px/1.3 "Manrope",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.hgx-rs-mini{list-style:none;padding:0;margin:14px 0 18px;display:grid;gap:6px;color:var(--rs-muted);font-size:14px}
.hgx-rs-mini b{color:var(--rs-ink);font-weight:800}
.hgx-rs-link{font-weight:800;color:#3f5a00}

/* promo (desktop card / mobile bar) */
.hgx-rs-pop{--rs-lime:#c7ff52;--rs-deep:#04110b;position:fixed;left:24px;right:auto;bottom:24px;z-index:9998;width:min(420px,calc(100% - 32px));display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;background:#07130d;color:#fff;border:1px solid rgba(199,255,82,.35);border-radius:18px;padding:18px;box-shadow:0 30px 80px rgba(0,0,0,.35);transform:translateY(24px);opacity:0;transition:transform .35s ease,opacity .35s ease;font-family:"DM Sans",sans-serif}
.hgx-rs-pop[hidden]{display:none}
.hgx-rs-pop.is-visible{transform:none;opacity:1}
.hgx-rs-pop img{width:96px;height:auto;border-radius:4px;box-shadow:0 10px 24px rgba(0,0,0,.4)}
.hgx-rs-pop small{display:block;font:800 10px/1.2 "Manrope",sans-serif;letter-spacing:.14em;color:#c7ff52;margin-bottom:4px}
.hgx-rs-pop strong{display:block;font:800 19px/1.2 "Manrope",sans-serif;margin-bottom:6px;color:#fff}
.hgx-rs-pop p{margin:0 0 12px;font-size:13px;line-height:1.45;color:rgba(255,255,255,.75)}
.hgx-rs-pop .hgx-rs-btn{min-height:40px;padding:9px 14px!important;font-size:13px!important}
.hgx-rs-pop-x{position:absolute;top:6px;right:8px;width:30px;height:30px;border:0;background:transparent;color:rgba(255,255,255,.7);font-size:22px;line-height:1;cursor:pointer;border-radius:8px}
.hgx-rs-pop-x:hover{color:#fff;background:rgba(255,255,255,.08)}

@media (max-width:980px){
  .hgx-rs-hero-grid,.hgx-rs-form-grid{grid-template-columns:1fr;gap:40px}
  .hgx-rs-cover{order:-1}.hgx-rs-cover img{width:min(260px,70vw);transform:none}
  .hgx-rs-grid,.hgx-rs-shots{grid-template-columns:1fr 1fr}
  .hgx-rs-stats{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .hgx-rs-hero{padding:56px 0 56px}
  .hgx-rs .hgx-container{width:calc(100% - 32px)}
  .hgx-rs-grid,.hgx-rs-shots,.hgx-rs-faq-grid{grid-template-columns:1fr}
  .hgx-rs-shots figure:nth-child(n+2){display:none}
  .hgx-rs-section{padding:60px 0}
  .hgx-rs-form .hgx-form-grid{grid-template-columns:1fr}
  .hgx-rs-form{padding:22px!important}
  .hgx-rs-edition{grid-template-columns:1fr;padding:20px}
  .hgx-rs-edition img{width:160px}
  .hgx-rs-actions .hgx-rs-btn{width:100%;justify-content:center}
  /* mobile: slim bottom bar, never a full-screen interstitial */
  .hgx-rs-pop{left:12px;right:76px;bottom:12px;width:auto;grid-template-columns:52px 1fr;gap:12px;padding:12px 40px 12px 12px;border-radius:14px}
  .hgx-rs-pop img{width:52px}
  .hgx-rs-pop p{display:none}
  .hgx-rs-pop strong{font-size:15px;margin-bottom:6px}
}
/* 2.7.11 — the chatbot owns the bottom-right corner: promo sits bottom-left and steps aside while the chat is open. */
body:has(.hgx-public-chat.is-open) .hgx-rs-pop{opacity:0!important;pointer-events:none!important;visibility:hidden}
@media (prefers-reduced-motion:reduce){.hgx-rs-pop,.hgx-rs-cover img,.hgx-rs-btn{transition:none}}
