/* ============================================================
   JETOUR OFFERS — offer page + promo popup
   Shares the Jetour Header design tokens. All classes prefixed
   `jto-`; resets scoped to .jto so nothing leaks into the theme.
   ============================================================ */
:root{
  --jto-teal:#39AEB1;
  --jto-ink:#1a1a1a;
  --jto-ink-soft:#4D4D4D;
  --jto-line:#EBEBEB;
  --jto-dark:#0c0f13;
  --jto-ease:cubic-bezier(.4,0,.2,1);
}

.jto, .jto *{ box-sizing:border-box; }
.jto{
  font-family:'Noto Sans Georgian', system-ui, -apple-system, sans-serif;
  color:var(--jto-ink);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
.jto img{ display:block; max-width:100%; }
.jto a{ text-decoration:none; color:inherit; }
.jto h1, .jto h2, .jto h3, .jto p{ margin:0; }

/* ---- shared button (matches header .btn) ---- */
.jto-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:46px; padding:0 26px; border-radius:0;
  font-size:15px; font-weight:600; line-height:1; cursor:pointer; white-space:nowrap;
  background:#111; color:#fff; border:1px solid transparent;
  transition:background-color .4s ease, color .4s ease, border-color .3s ease;
}
.jto-btn:hover{ background:var(--jto-teal); color:#fff; border-color:var(--jto-teal); }
.jto-btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.jto-btn-ghost:hover{ background:#fff; color:#111; border-color:#fff; }

.jto-eyebrow{ font-size:13px; letter-spacing:.22em; text-transform:uppercase; color:var(--jto-teal); margin:0 0 16px; }
.jto-h1{ font-size:clamp(32px,5vw,56px); font-weight:700; line-height:1.08; }
.jto-h2{ font-size:clamp(24px,3vw,34px); font-weight:700; margin:0 0 28px; }
.jto-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }

/* ============================================================
   FULL-BLEED — break sections out to the viewport width even when
   the offer renders inside a constrained theme/Elementor container.
   ============================================================ */
.jto-offer .jto-hero,
.jto-offer .jto-section,
.jto-offer .jto-band,
.jto-offer .jto-cta{
  position:relative; left:50%; right:50%;
  margin-left:-50vw; margin-right:-50vw; width:100vw;
}
.jto-wrap, .jto-hero-inner{ max-width:1200px; margin:0 auto; padding-left:7%; padding-right:7%; }

/* ---- HERO ---- */
.jto-hero{
  color:#fff;
  display:flex; align-items:center;
  min-height:86vh;                 /* always a large banner, even if padding is overridden */
  background:
    linear-gradient(180deg, rgba(10,12,15,.78), rgba(10,12,15,.5) 45%, rgba(10,12,15,.88)),
    var(--jto-hero) center/cover no-repeat;
}
.jto-hero-inner{ width:100%; padding-top:110px; padding-bottom:90px; }
.jto-lead{ max-width:640px; margin:30px 0 0; font-size:17px; line-height:1.75; color:rgba(255,255,255,.82); }
.jto-tagline{ margin:32px 0 0; font-size:19px; font-weight:600; line-height:1.5; color:#fff; }
.jto-badge{
  display:inline-block; margin:34px 0 0; padding:13px 20px;
  font-size:15px; font-weight:600; color:#0c0f13; background:var(--jto-teal);
}
.jto-hero .jto-actions{ margin-top:38px; }

/* ---- SECTIONS ---- */
.jto-section{ background:#fff; padding:84px 0; }
.jto-section-dark{ background:var(--jto-dark); color:#fff; }
.jto-section-dark .jto-h2{ color:#fff; margin-bottom:40px; }

/* features */
.jto-features{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:900px){ .jto-features{ grid-template-columns:1fr; } }
.jto-feature{
  display:flex; align-items:center; gap:16px; padding:24px 26px; min-height:90px;
  border:1px solid var(--jto-line); border-radius:5px; background:#fff;
  font-size:17px; font-weight:500; line-height:1.4;
  transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.jto-feature:hover{ border-color:var(--jto-teal); box-shadow:0 8px 24px rgba(57,174,177,.12); transform:translateY(-2px); }
.jto-feature-mark{ flex:0 0 auto; width:10px; height:10px; border-radius:50%; background:var(--jto-teal); }

/* image band */
.jto-band{
  min-height:clamp(320px,52vh,560px);
  background:var(--jto-band) center center / cover no-repeat;
  background-attachment:scroll;
}
@media (max-width:900px){ .jto-band{ min-height:300px; } }

/* specs */
.jto-specs{ display:grid; grid-template-columns:repeat(5,1fr); gap:30px 26px; }
@media (max-width:1100px){ .jto-specs{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .jto-specs{ grid-template-columns:repeat(2,1fr); } }
.jto-spec{ border-left:2px solid var(--jto-teal); padding:2px 0 4px 20px; }
.jto-spec-value{ font-size:clamp(19px,1.7vw,24px); font-weight:700; line-height:1.22; }
.jto-spec-label{ margin-top:12px; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.58); }
.jto-note{ margin:46px 0 0; max-width:680px; font-size:15px; line-height:1.6; color:rgba(255,255,255,.7); }
.jto-section-dark .jto-actions{ margin-top:28px; }

/* CTA band */
.jto-cta{ background:#F6F8F9; padding:88px 0; text-align:center; }
.jto-cta-inner{ display:flex; flex-direction:column; align-items:center; }
.jto-cta .jto-h2{ margin-bottom:14px; }
.jto-cta-sub{ margin:0 0 30px; color:var(--jto-ink-soft); font-size:17px; }

/* ============================================================
   POPUP
   ============================================================ */
body.jto-lock{ overflow:hidden; }

.jto-popup{
  position:fixed; inset:0; z-index:100000;
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.jto-popup[hidden]{ display:none; }

.jto-popup-backdrop{
  position:absolute; inset:0; background:rgba(8,10,13,.62);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  opacity:0; transition:opacity .35s ease;
}
.jto-popup.jto-open .jto-popup-backdrop{ opacity:1; }

.jto-popup-card{
  position:relative; z-index:1; width:min(1120px,92vw); max-height:92vh; background:#fff; overflow:auto;
  display:grid; grid-template-columns:1fr 1fr;
  box-shadow:0 30px 80px rgba(0,0,0,.4);
  opacity:0; transform:translateY(16px) scale(.98);
  transition:transform .4s var(--jto-ease), opacity .35s ease;
}
.jto-popup.jto-open .jto-popup-card{ opacity:1; transform:none; }
@media (max-width:560px){ .jto-popup-card{ grid-template-columns:1fr; } }

.jto-popup-media{ min-height:520px; background:var(--jto-dark) center/cover no-repeat; }
@media (max-width:560px){ .jto-popup-media{ min-height:240px; } }

.jto-popup-body{ padding:52px 52px 54px; align-self:center; }
.jto-popup-title{ font-size:40px; font-weight:700; margin:0 0 12px; }
.jto-popup-line{ margin:0; color:var(--jto-ink-soft); font-size:18px; line-height:1.65; }
.jto-popup .jto-actions{ margin-top:30px; flex-direction:column; align-items:stretch; gap:12px; }
.jto-popup .jto-btn{ width:100%; height:54px; font-size:16px; }
/* ghost button sits on white inside the popup */
.jto-popup .jto-btn-ghost{ color:#111; border-color:#d8d8d8; }
.jto-popup .jto-btn-ghost:hover{ background:#111; color:#fff; border-color:#111; }

.jto-popup-x{
  position:absolute; top:14px; right:14px; z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0; border:none; cursor:pointer; border-radius:50%;
  background:rgba(255,255,255,.9); color:#111; font-size:24px; line-height:1;
  -webkit-appearance:none; appearance:none;
  transition:background-color .25s ease;
}
.jto-popup-x:hover{ background:#fff; }

/* ============================================================
   MINI — minimized offer pill (bottom-left, persists across pages)
   ============================================================ */
.jto-mini{
  position:fixed; left:20px; bottom:20px; z-index:99998;
  display:flex; align-items:center; gap:14px;
  width:auto; max-width:min(360px,calc(100vw - 40px)); padding:12px 14px;
  border-radius:16px; color:#fff;
  background:linear-gradient(135deg, rgba(16,19,24,.72), rgba(16,19,24,.55));
  -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 44px rgba(0,0,0,.4);
  transform:translateY(160%); opacity:0;
  transition:transform .55s var(--jto-ease), opacity .4s ease;
}
.jto-mini.jto-mini-open{ transform:none; opacity:1; }
.jto-mini[hidden]{ display:none; }
.jto-mini-link{ display:flex; align-items:center; gap:14px; color:#fff; text-decoration:none; min-width:0; }
.jto-mini-thumb{
  flex:0 0 auto; width:58px; height:58px; border-radius:12px;
  background:#0c0f13 center/cover no-repeat;
}
.jto-mini-text{ display:flex; flex-direction:column; min-width:0; }
.jto-mini-title{ font-size:15px; font-weight:700; line-height:1.15; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.jto-mini-sub{ margin-top:4px; font-size:12px; line-height:1.3; color:rgba(255,255,255,.78); }
.jto-mini-x{
  flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  width:26px; height:26px; padding:0; margin:-4px -2px auto 0; cursor:pointer;
  border:none; border-radius:50%; background:rgba(255,255,255,.16); color:#fff;
  font-size:18px; line-height:1; -webkit-appearance:none; appearance:none;
  transition:background-color .25s ease;
}
.jto-mini-x:hover{ background:rgba(255,255,255,.32); }

@media (prefers-reduced-motion:reduce){
  .jto *{ transition-duration:.01ms !important; }
}

/* ============================================================
   BUILDER / THEME OVERRIDE GUARD  (Elementor, etc.)
   Elementor & themes restyle sections, headings, links, images
   and backgrounds with high specificity. Re-assert everything we
   care about, scoped under .jto and flagged !important, so the
   offer page + popup render correctly inside a builder.
   ============================================================ */

/* — full-bleed sizing (stops the hero/sections collapsing to a column) — */
.jto-offer .jto-hero,
.jto-offer .jto-section,
.jto-offer .jto-band,
.jto-offer .jto-cta{
  position:relative !important;
  left:50% !important; right:50% !important;
  margin-left:-50vw !important; margin-right:-50vw !important;
  width:100vw !important; max-width:100vw !important;
  float:none !important; clear:both !important;
}
.jto-offer .jto-hero{
  display:flex !important; align-items:center !important;
  min-height:86vh !important; color:#fff !important;
  background:
    linear-gradient(180deg, rgba(10,12,15,.78), rgba(10,12,15,.5) 45%, rgba(10,12,15,.88)),
    var(--jto-hero) center center / cover no-repeat !important;
}
.jto-offer .jto-section{ padding:84px 0 !important; background:#fff !important; }
.jto-offer .jto-section-dark{ background:var(--jto-dark) !important; }
.jto-offer .jto-band{
  min-height:clamp(320px,52vh,560px) !important;
  background:var(--jto-band) center center / cover no-repeat !important;
}
.jto-offer .jto-cta{ padding:80px 0 !important; background:#F6F8F9 !important; }
.jto .jto-wrap,
.jto .jto-hero-inner{
  max-width:1200px !important; width:100% !important;
  margin-left:auto !important; margin-right:auto !important;
  padding-left:7% !important; padding-right:7% !important;
}

/* — headings / type / state text colours per section — */
.jto .jto-h1{ font-size:clamp(32px,5vw,56px) !important; line-height:1.08 !important; font-weight:700 !important; }
.jto .jto-h2{ font-size:clamp(24px,3vw,34px) !important; font-weight:700 !important; }
/* headline font = Elementor custom font "Normalidad"; Georgian glyphs fall back to Noto */
.jto .jto-h1,
.jto .jto-h2,
.jto .jto-popup-title{
  font-family:var(--jto-headline-font, "Normalidad"), 'Noto Sans Georgian', system-ui, -apple-system, sans-serif !important;
}
.jto-hero .jto-h1{ color:#fff !important; }
.jto-section .jto-h2{ color:var(--jto-ink) !important; }
.jto-section-dark .jto-h2{ color:#fff !important; }
.jto-cta .jto-h2{ color:var(--jto-ink) !important; }
.jto .jto-eyebrow{ color:var(--jto-teal) !important; text-transform:uppercase !important; letter-spacing:.22em !important; }
.jto-hero .jto-lead{ color:rgba(255,255,255,.82) !important; }
.jto-hero .jto-tagline{ color:#fff !important; }
.jto .jto-badge{ background:var(--jto-teal) !important; color:#0c0f13 !important; }

/* — buttons: shape + size + state colours — */
.jto .jto-btn{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  height:46px !important; padding:0 26px !important; border-radius:0 !important;
  font-size:15px !important; font-weight:600 !important; line-height:1 !important;
  background:#111 !important; color:#fff !important; border:1px solid transparent !important;
  width:auto !important; text-decoration:none !important;
}
.jto .jto-btn:hover{ background:var(--jto-teal) !important; color:#fff !important; border-color:var(--jto-teal) !important; }
.jto .jto-btn-ghost{ background:transparent !important; color:#fff !important; border-color:rgba(255,255,255,.55) !important; }
.jto .jto-btn-ghost:hover{ background:#fff !important; color:#111 !important; border-color:#fff !important; }
.jto-popup .jto-btn-ghost{ color:#111 !important; border-color:#d8d8d8 !important; }
.jto-popup .jto-btn-ghost:hover{ background:#111 !important; color:#fff !important; border-color:#111 !important; }

/* — feature cards — */
.jto .jto-features{ display:grid !important; }
.jto .jto-feature{
  display:flex !important; align-items:center !important;
  border:1px solid var(--jto-line) !important; border-radius:5px !important;
  background:#fff !important; color:var(--jto-ink) !important;
}
.jto .jto-feature:hover{ border-color:var(--jto-teal) !important; }
.jto .jto-feature-mark{ width:10px !important; height:10px !important; border-radius:50% !important; background:var(--jto-teal) !important; flex:0 0 auto !important; }

/* — specs (dark) — */
.jto .jto-specs{ display:grid !important; }
.jto .jto-spec{ border-left:2px solid var(--jto-teal) !important; }
.jto-section-dark .jto-spec-value{ color:#fff !important; }
.jto-section-dark .jto-spec-label{ color:rgba(255,255,255,.62) !important; }
.jto-section-dark .jto-note{ color:rgba(255,255,255,.7) !important; }

/* — popup — */
.jto-popup{ position:fixed !important; inset:0 !important; z-index:100000 !important; display:flex !important; align-items:center !important; justify-content:center !important; }
.jto-popup[hidden]{ display:none !important; }
.jto-popup-card{ display:grid !important; grid-template-columns:1fr 1fr !important; width:min(1120px,92vw) !important; max-height:92vh !important; overflow:auto !important; background:#fff !important; border-radius:0 !important; }
.jto-popup-media{ min-height:520px !important; background-size:cover !important; background-position:center !important; background-repeat:no-repeat !important; }
.jto-popup-title{ color:var(--jto-ink) !important; font-size:40px !important; }
.jto-popup .jto-actions{ flex-direction:column !important; align-items:stretch !important; }
.jto-popup .jto-btn{ width:100% !important; height:54px !important; }
.jto-popup-x{
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:40px !important; height:40px !important; min-width:0 !important; min-height:0 !important;
  padding:0 !important; margin:0 !important; border:0 !important; border-radius:50% !important;
  background:rgba(255,255,255,.9) !important; color:#111 !important; box-shadow:none !important;
  -webkit-appearance:none !important; appearance:none !important; line-height:1 !important;
}
.jto-popup-x:hover,.jto-popup-x:focus{ background:#fff !important; box-shadow:none !important; outline:none !important; }

/* mini pill — keep layout + reset builder button styling */
.jto-mini{ display:flex !important; align-items:center !important; }
.jto-mini-link{ display:flex !important; align-items:center !important; text-decoration:none !important; box-shadow:none !important; }
.jto-mini-thumb{ width:58px !important; height:58px !important; border-radius:12px !important; flex:0 0 auto !important; }
.jto-mini-x{
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:26px !important; height:26px !important; min-width:0 !important; min-height:0 !important;
  padding:0 !important; border:0 !important; border-radius:50% !important;
  background:rgba(255,255,255,.16) !important; color:#fff !important; box-shadow:none !important;
  -webkit-appearance:none !important; appearance:none !important;
}
.jto-mini-x:hover{ background:rgba(255,255,255,.32) !important; }
@media (max-width:560px){
  .jto-popup-card{ grid-template-columns:1fr !important; }
  .jto-popup-media{ min-height:240px !important; }
}
@media (max-width:900px){
  .jto-offer .jto-features{ grid-template-columns:1fr !important; }
  .jto-offer .jto-band{ background-attachment:scroll !important; }
}
