/* ==========================================================
   Electa International — Base Stylesheet
   Colors are injected as CSS variables from the active palette
   (see includes/functions.php -> render_palette_css_vars)
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--color-text, #333);
  background: var(--color-white, #fff);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: background .3s ease, transform .35s ease;
}
/* Slides the header out of view when scrolling down past the hero, and back
   in when scrolling up — matches the reference site's show/hide-on-scroll
   behavior. Background stays solid white throughout (kept intentionally, so
   a dark logo stays readable rather than floating transparently over photos). */
.site-header.nav-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 42px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-weight: 600; font-size: 14px; text-transform: uppercase;
  letter-spacing: .03em; padding: 10px 0; display: block;
  color: var(--color-dark, #111);
  transition: color .25s ease;
}
.main-nav > ul > li > a:hover { color: var(--color-primary); }
.main-nav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--color-white); box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease; border-radius: 4px; overflow: hidden;
}
.main-nav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown li a { padding: 12px 18px; display: block; font-size: 14px; }
.main-nav .dropdown li a:hover { background: var(--color-light); color: var(--color-primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-dark); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--color-white); transform: translateX(-100%);
    transition: transform .3s ease; overflow-y: auto; padding: 20px;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .main-nav .has-dropdown.is-open .dropdown { display: block; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; }
.hero-slides { position: relative; height: 92vh; min-height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: center;
}
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.hero-slide.is-active { opacity: 1; }
.hero-slide-content { position: relative; z-index: 2; }
.hero-slide-content h1 { color: #fff; font-size: clamp(28px, 5vw, 56px); max-width: 720px; font-weight: 700; }

.hero-divisions { position: relative; z-index: 3; background: var(--color-primary-dark); }
.divisions-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.division-card {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 40px 20px; color: #fff; text-align: center; border-right: 1px solid rgba(255,255,255,.15);
  transition: background .25s ease;
}
.division-card:last-child { border-right: none; }
.division-card:hover { background: rgba(255,255,255,.12); }
.division-card img { height: 56px; width: auto; }
.division-card span { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 900px) {
  .division-card { padding: 28px 14px; gap: 12px; }
  .division-card img { height: 44px; }
  .division-card span { font-size: 14px; }
}
@media (max-width: 700px) { .divisions-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Hero dot navigation (matches Owl Carousel dots:true) ---------- */
.hero-dots { position: absolute; z-index: 4; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; padding: 0; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.hero-dot.is-active { background: #fff; transform: scale(1.2); }

/* ---------- Scroll reveal (matches reference site's WOW.js + Animate.css pattern) ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(60px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(0.7, 0.7, 0.7); }
  50%  { opacity: 1; }
  to   { opacity: 1; transform: scale3d(1, 1, 1); }
}
.reveal { opacity: 0; }
.reveal.is-visible {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}
.reveal.is-visible[data-anim="fadeIn"]      { animation-name: fadeIn; }
.reveal.is-visible[data-anim="fadeInUp"]    { animation-name: fadeInUp; }
.reveal.is-visible[data-anim="fadeInRight"] { animation-name: fadeInRight; }
.reveal.is-visible[data-anim="zoomIn"]      { animation-name: zoomIn; }
/* backward-compat alias so any leftover .reveal-up markup still animates */
.reveal-up { opacity: 0; }
.reveal-up.is-visible { animation: fadeInUp 1s ease both; }

/* ---------- Section heading ---------- */
.section-heading { text-align: center; font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 10px; color: var(--color-dark); }
.section-heading.light { color: #fff; }
.section-sub { text-align: center; color: var(--color-text-muted); max-width: 760px; margin: 0 auto 40px; }
.section-sub.light { color: rgba(255,255,255,0.85); }

/* ---------- Intro / video sections ---------- */
.intro-section { padding: 80px 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.intro-text h2 { font-size: 30px; color: var(--color-dark); }
.intro-sub { color: var(--color-primary); font-weight: 600; }
.intro-video { position: relative; border-radius: 8px; overflow: hidden; }
.video-play-btn { position: relative; display: block; }
.play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: var(--color-primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 0 0 0 rgba(11,61,145,0.5); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(11,61,145,0.45); }
  70%  { box-shadow: 0 0 0 22px rgba(11,61,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(11,61,145,0); }
}
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Category / widget grid ---------- */
.category-grid-section { padding: 70px 0; background: var(--color-light); }
.widget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.widget-card {
  background: #fff; border-radius: 10px; padding: 26px; position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .3s ease, box-shadow .3s ease;
  min-height: 220px;
}
.widget-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); }
.widget-card h4 { color: var(--color-primary); margin-bottom: 12px; }
.widget-items li { font-size: 13.5px; color: var(--color-text-muted); padding: 2px 0; }
.widget-icon { position: absolute; right: 18px; bottom: 18px; width: 54px; opacity: 0.85; overflow: hidden; }
.widget-icon img { transition: transform 1s ease; display: block; }
.widget-card:hover .widget-icon img { transform: scale(1.18); }
.widget-card:hover .widget-icon { opacity: 1; }
.widget-title-bottom { display: none; }
@media (max-width: 900px) { .widget-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .widget-grid { grid-template-columns: 1fr; } }

/* ---------- Brand tabs ---------- */
.brand-tabs-section { padding: 70px 0; }
.brand-tab-nav { display: flex; justify-content: center; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.brand-tab-nav li {
  cursor: pointer; padding: 10px 4px; font-weight: 600; color: var(--color-text-muted);
  border-bottom: 3px solid transparent; transition: all .25s ease;
}
.brand-tab-nav li.is-active, .brand-tab-nav li:hover { color: var(--color-primary); border-color: var(--color-secondary); }
.brand-tab-panel { display: none; }
.brand-tab-panel.is-active { display: block; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; align-items: center; margin-bottom: 24px; }
.logo-grid img { max-height: 46px; width: auto; margin: 0 auto; filter: grayscale(20%); opacity: .9; transition: opacity .25s ease; }
.logo-grid img:hover { opacity: 1; }
.tab-description { text-align: center; color: var(--color-text-muted); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Continuous auto-scrolling logo marquee (matches reference's Owl Carousel sponsor strip) ---------- */
.logo-marquee { overflow: hidden; margin-bottom: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee-track { display: flex; align-items: center; gap: 50px; width: max-content; animation: marquee-scroll 22s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-track img { height: var(--marquee-logo-height, 64px); width: auto; flex-shrink: 0; filter: grayscale(20%); opacity: .9; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Service grid ---------- */
.service-grid-section { padding: 70px 0; background: var(--color-light); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  height: 260px; border-radius: 10px; background-size: cover; background-position: center;
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
.service-card-overlay { position: relative; z-index: 2; padding: 20px; color: #fff; }
.service-card-overlay h5 { margin: 0 0 6px; font-size: 17px; }
.service-card-overlay p { font-size: 13px; opacity: 0; max-height: 0; overflow: hidden; transition: all .35s ease; margin: 0; }
.service-card:hover .service-card-overlay p { opacity: .9; max-height: 120px; margin-top: 6px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Counter stats ---------- */
.counter-stats-section {
  padding: 90px 0; background-color: var(--color-dark); background-size: cover; background-position: center;
  background-blend-mode: multiply; position: relative;
}
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.counter-card { text-align: center; color: #fff; }
.counter-number, .counter-suffix { font-size: 42px; font-weight: 700; color: var(--color-secondary); }
.counter-card h6 { margin: 8px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.counter-card p { font-size: 13px; color: rgba(255,255,255,0.75); }
@media (max-width: 900px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-logo { height: 38px; margin-bottom: 14px; }
.footer-col h5 { color: #fff; margin-bottom: 16px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--color-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.social-links a:hover { background: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 2000; }
.video-modal.is-open { display: flex; }
.video-modal-inner { width: min(900px, 92vw); aspect-ratio: 16/9; }
.video-modal-inner iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 30px; cursor: pointer; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  height: 320px; margin-top: 78px; display: flex; align-items: center; justify-content: center;
  text-align: center; background-size: cover; background-position: center; background-color: var(--color-dark);
  background-blend-mode: multiply; color: #fff; position: relative;
}
.page-banner::before { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.35); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 8px; }
.page-banner p { opacity: .85; }

/* ---------- Text columns (Vision/Mission) ---------- */
.text-columns-section { padding: 70px 0; }
.text-columns-grid { display: grid; grid-template-columns: repeat(var(--col-count, 2), 1fr); gap: 30px; }
.text-column { background: var(--color-light); border-radius: 10px; padding: 30px; }
.text-column h5 { color: var(--color-primary); font-size: 18px; margin-bottom: 12px; }
@media (max-width: 800px) { .text-columns-grid { grid-template-columns: 1fr; } }

/* ---------- Checklist + media ---------- */
.checklist-media-section { padding: 70px 0; background: var(--color-light); }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed #ddd; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--color-secondary); font-weight: 700; }
.checklist-image img { border-radius: 10px; }
@media (max-width: 800px) { .checklist-grid { grid-template-columns: 1fr; } }

/* ---------- Standalone logo grid ---------- */
.standalone-logo-grid-section { padding: 70px 0; }
.logo-grid-standalone { grid-template-columns: repeat(6, 1fr); }
.logo-grid-item { display: flex; align-items: center; justify-content: center; padding: 10px; background: var(--color-light); border-radius: 8px; }
@media (max-width: 800px) { .logo-grid-standalone { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Locations ---------- */
.locations-section { padding: 70px 0; }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.location-card { background: #fff; border: 1px solid var(--color-light); border-radius: 10px; padding: 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.location-card h5 { margin: 0 0 10px; color: var(--color-primary); }
.loc-type { font-size: 11px; background: var(--color-light); color: var(--color-text-muted); padding: 2px 8px; border-radius: 10px; margin-left: 6px; }
.loc-phone { font-weight: 600; }
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .locations-grid { grid-template-columns: 1fr; } }

/* ---------- Job listings ---------- */
.job-listings-section { padding: 70px 0; }
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-row {
  display: flex; justify-content: space-between; align-items: center; background: #fff;
  border: 1px solid var(--color-light); border-radius: 8px; padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: box-shadow .25s ease, transform .25s ease;
}
.job-row:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.job-row h5 { margin: 0 0 4px; color: var(--color-dark); }
.job-meta { font-size: 13px; color: var(--color-text-muted); }
.job-apply { color: var(--color-primary); font-weight: 600; white-space: nowrap; }

/* ---------- News grid ---------- */
.news-grid-section { padding: 70px 0; background: var(--color-light); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.06); transition: transform .3s ease; }
.news-card:hover { transform: translateY(-6px); }
.news-card-image { height: 170px; background-size: cover; background-position: center; }
.news-card-body { padding: 18px; }
.news-date { font-size: 12px; color: var(--color-secondary); font-weight: 700; text-transform: uppercase; }
.news-card-body h5 { margin: 8px 0; color: var(--color-dark); }
.news-card-body p { font-size: 14px; color: var(--color-text-muted); }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Legal text (Terms/Privacy) ---------- */
.legal-text-section { padding: 120px 0 80px; }
.legal-container { max-width: 820px; }
.legal-container h1 { color: var(--color-dark); }
.legal-updated { color: var(--color-text-muted); font-size: 13px; margin-bottom: 30px; }
.legal-container h4 { color: var(--color-primary); margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info-list { list-style: none; padding: 0; margin-top: 20px; }
.contact-info-list li { padding: 10px 0; border-bottom: 1px solid var(--color-light); }
.contact-form-box { background: var(--color-light); border-radius: 10px; padding: 30px; }
.form-row { margin-bottom: 14px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 14px;
}
.btn-submit { background: var(--color-primary); color: #fff; border: none; padding: 12px 28px; border-radius: 6px; font-weight: 600; cursor: pointer; }
.btn-submit:hover { background: var(--color-primary-dark); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* page-banner offsets the fixed header; add same top margin need for pages without banner too */
main { display: block; }

/* ==========================================================
   Activity pages (x- sections): hero, stats, cards, steps, flow, FAQ, CTA …
   ========================================================== */
.x-ico { flex: none; }
.x-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); background: rgba(255,87,34,.10); background: color-mix(in srgb, var(--color-primary) 12%, transparent); padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.x-lead { font-size: 18px; line-height: 1.7; }
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.x-btn:hover { transform: translateY(-2px); }
.x-btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 24px -10px var(--color-primary); }
.x-btn-primary:hover { background: var(--color-primary-dark); }
.x-btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.x-btn-ghost:hover { background: rgba(255,255,255,.1); }
.x-btn-dark { background: var(--color-dark); color: #fff; }
.x-btn-outline { border: 1.5px solid var(--color-dark); color: var(--color-dark); }
.x-ticks { display: grid; gap: 12px; margin: 22px 0 0; }
.x-ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.x-ticks .x-ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--color-primary); color: #fff; margin-top: 1px; stroke-width: 2.4; }

/* hero */
.x-hero { position: relative; background: var(--color-dark); color: #fff; padding: 150px 0 110px; overflow: hidden; }
.x-hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(255,87,34,.30), transparent 65%); background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 38%, transparent), transparent 65%); pointer-events: none; }
.x-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.x-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.x-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
.x-hero .x-lead { color: rgba(255,255,255,.82); margin: 0; }
.x-hero .x-ticks li { color: rgba(255,255,255,.92); }
.x-hero-media { position: relative; }
.x-hero-media > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.12); }
.x-chip { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--color-dark); padding: 12px 18px 12px 12px; border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); max-width: 250px; animation: xFloat 6s ease-in-out infinite; }
.x-chip strong { display: block; font-size: 14px; line-height: 1.2; }
.x-chip small { display: block; font-size: 12px; color: var(--color-text-muted); line-height: 1.3; margin-top: 2px; }
.x-chip-ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--color-primary); color: #fff; }
.x-chip-1 { left: -26px; bottom: 34px; }
.x-chip-2 { right: -14px; top: 28px; animation-delay: -3s; }
@keyframes xFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* stats */
.x-stats { position: relative; z-index: 2; margin-top: -54px; }
.x-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.28); overflow: hidden; }
.x-stat { padding: 28px 24px; text-align: center; border-right: 1px solid #eef0f3; }
.x-stat:last-child { border-right: 0; }
.x-stat-num { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.x-stat-label { font-weight: 700; color: var(--color-dark); margin-top: 8px; font-size: 15px; }
.x-stat-note { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* sections */
.x-sec { padding: 88px 0; }
.x-bg-white { background: #fff; }
.x-bg-light { background: var(--color-light); }
.x-bg-dark { background: var(--color-dark); color: rgba(255,255,255,.8); }
.x-bg-dark h2, .x-bg-dark h3 { color: #fff; }
.x-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.x-head h2, .x-split-copy h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; color: var(--color-dark); }
.x-head p { font-size: 17px; margin: 0; }
.x-narrow { max-width: 860px; }

/* cards */
.x-cards { display: grid; gap: 22px; }
.x-cols-2 { grid-template-columns: repeat(2, 1fr); }
.x-cols-3 { grid-template-columns: repeat(3, 1fr); }
.x-cols-4 { grid-template-columns: repeat(4, 1fr); }
.x-card { background: #fff; border: 1px solid #e9ecf0; border-radius: 18px; padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; display: flex; flex-direction: column; }
.x-bg-light .x-card { border-color: transparent; }
.x-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); border-color: var(--color-primary); }
.x-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--color-dark); line-height: 1.25; }
.x-card p { margin: 0; font-size: 15px; line-height: 1.65; }
.x-card-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255,87,34,.10); background: color-mix(in srgb, var(--color-primary) 12%, #fff); color: var(--color-primary); }
.x-card-ico .x-ico { width: 28px; height: 28px; }
.x-card-img { margin: -28px -26px 20px; border-radius: 18px 18px 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.x-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.x-card:hover .x-card-img img { transform: scale(1.06); }
.x-bg-dark .x-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.x-bg-dark .x-card p { color: rgba(255,255,255,.75); }
.x-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 14px; color: var(--color-primary); }
.x-more .x-ico { width: 16px; height: 16px; }
.x-card-link p { margin-bottom: 4px; }

/* split */
.x-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.x-split-left .x-split-media { order: -1; }
.x-split-media { margin: 0; position: relative; }
.x-split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.4); }
.x-split-media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 99px; }
.x-split-copy p { font-size: 17px; margin: 0; }
.x-bg-dark .x-split-copy h2 { color: #fff; }

/* steps */
.x-steps { display: grid; gap: 20px; counter-reset: s; }
.x-steps-3 { grid-template-columns: repeat(3, 1fr); } .x-steps-4 { grid-template-columns: repeat(4, 1fr); }
.x-steps-5 { grid-template-columns: repeat(5, 1fr); } .x-steps-6 { grid-template-columns: repeat(3, 1fr); }
.x-step { position: relative; background: #fff; border-radius: 18px; padding: 26px 22px 24px; border: 1px solid #e9ecf0; }
.x-bg-light .x-step { border-color: transparent; }
.x-step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; box-shadow: 0 8px 18px -8px var(--color-primary); }
.x-step h3 { font-size: 17px; margin: 0 0 6px; color: var(--color-dark); }
.x-step p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.x-steps-3 .x-step:not(:last-child)::after, .x-steps-4 .x-step:not(:last-child)::after, .x-steps-5 .x-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(100% - 4px); width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--color-primary) 0 6px, transparent 6px 10px); z-index: 1; }

/* compare */
.x-compare { display: grid; gap: 22px; align-items: stretch; }
.x-comp { background: #fff; border: 1px solid #e9ecf0; border-radius: 20px; padding: 32px 28px; position: relative; }
.x-comp.is-hl { border: 2px solid var(--color-primary); box-shadow: 0 30px 60px -30px var(--color-primary); }
.x-comp-tag { display: inline-block; background: var(--color-dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; text-transform: uppercase; }
.x-comp.is-hl .x-comp-tag { background: var(--color-primary); }
.x-comp h3 { font-size: 22px; margin: 0 0 8px; color: var(--color-dark); }
.x-comp > p { margin: 0; }

/* flow */
.x-flow { display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: nowrap; }
.x-node { flex: 1 1 0; min-width: 0; text-align: center; padding: 26px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.x-node strong { color: #fff; font-size: 17px; line-height: 1.25; }
.x-node small { color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.5; }
.x-node-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.07); margin-bottom: 6px; }
.x-flow-arrow { flex: none; display: grid; place-items: center; width: 36px; color: var(--color-primary); }
.x-flow-arrow .x-ico { width: 26px; height: 26px; stroke-width: 2.2; }
.x-bg-white .x-node, .x-bg-light .x-node { background: #fff; border-color: #e9ecf0; }
.x-bg-white .x-node strong, .x-bg-light .x-node strong { color: var(--color-dark); }
.x-bg-white .x-node small, .x-bg-light .x-node small { color: var(--color-text); }

/* faq */
.x-faq { display: grid; gap: 12px; }
.x-faq-item { background: #fff; border-radius: 14px; border: 1px solid #e9ecf0; padding: 0 22px; }
.x-faq-item summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; color: var(--color-dark); position: relative; }
.x-faq-item summary::-webkit-details-marker { display: none; }
.x-faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--color-primary); transition: transform .2s ease; }
.x-faq-item[open] summary::after { content: "–"; }
.x-faq-item p { margin: 0 0 20px; line-height: 1.7; }

/* cta */
.x-cta { background: var(--color-dark); position: relative; overflow: hidden; padding: 76px 0; color: #fff; }
.x-cta::before { content: ""; position: absolute; width: 560px; height: 560px; left: -140px; bottom: -280px; background: radial-gradient(circle, rgba(255,87,34,.35), transparent 65%); background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 40%, transparent), transparent 65%); }
.x-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.x-cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 10px; line-height: 1.15; }
.x-cta p { margin: 0; color: rgba(255,255,255,.78); font-size: 17px; max-width: 620px; }
.x-cta-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.x-cta-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.x-cta-points .x-ico { width: 18px; height: 18px; color: var(--color-primary); stroke-width: 2.6; }
.x-cta .x-btns { margin: 0; flex: none; }

/* pills + gallery */
.x-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.x-pill { background: #fff; border: 1px solid #e3e6eb; border-radius: 16px; padding: 18px 28px; text-align: center; min-width: 190px; transition: transform .2s ease, border-color .2s ease; }
.x-pill:hover { transform: translateY(-4px); border-color: var(--color-primary); }
.x-bg-light .x-pill { border-color: transparent; }
.x-pill strong { display: block; font-size: 19px; color: var(--color-dark); }
.x-pill small { display: block; color: var(--color-text-muted); margin-top: 4px; font-size: 13px; }
.x-gallery { display: grid; gap: 18px; }
.x-shot { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.x-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.x-shot:hover img { transform: scale(1.06); }
.x-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }

@media (max-width: 1000px) {
  .x-hero { padding: 120px 0 90px; }
  .x-hero-grid, .x-split { grid-template-columns: 1fr; gap: 40px; }
  .x-split-left .x-split-media { order: 0; }
  .x-chip-1 { left: 10px; } .x-chip-2 { right: 10px; }
  .x-cols-4, .x-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .x-stat:nth-child(2) { border-right: 0; } .x-stat:nth-child(-n+2) { border-bottom: 1px solid #eef0f3; }
  .x-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .x-steps-4, .x-steps-5, .x-steps-6 { grid-template-columns: repeat(2, 1fr); }
  .x-steps .x-step::after { display: none; }
  .x-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .x-sec { padding: 56px 0; } .x-head { margin-bottom: 30px; }
  .x-hero { padding: 104px 0 80px; }
  .x-hero .x-btns .x-btn, .x-cta .x-btn { flex: 1 1 100%; }
  .x-chip { position: static; margin-top: 12px; max-width: none; animation: none; }
  .x-cols-2, .x-cols-3, .x-cols-4, .x-compare.x-cols-2, .x-compare.x-cols-3 { grid-template-columns: 1fr; }
  .x-gallery.x-cols-3, .x-gallery.x-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .x-steps-3, .x-steps-4, .x-steps-5, .x-steps-6 { grid-template-columns: 1fr; }
  .x-flow { flex-direction: column; }
  .x-flow-arrow { width: auto; height: 34px; transform: rotate(90deg); }
  .x-stats { margin-top: -40px; }
  .x-stat { padding: 20px 12px; }
  .x-pill { min-width: 0; flex: 1 1 calc(50% - 14px); padding: 16px 12px; }
}
.x-steps { list-style: none; margin: 0; padding: 0; }
.x-stat-num.is-text { font-size: clamp(20px, 2.3vw, 27px); line-height: 1.25; padding-top: 6px; min-height: 1.6em; }

/* v18 — facts, hero eyebrow contrast, and phone optimisation (short, scannable) */
.x-hero .x-eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.x-bg-dark .x-eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.x-bg-dark .x-split-copy p, .x-bg-dark .x-ticks li { color: rgba(255,255,255,.85); }
.x-facts { display: flex; gap: 14px; margin: 22px 0 0; flex-wrap: wrap; }
.x-facts > div { background: var(--color-light); border-radius: 16px; padding: 16px 26px; min-width: 150px; }
.x-bg-dark .x-facts > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.x-facts strong { display: block; font-size: 42px; line-height: 1; color: var(--color-primary); font-weight: 800; }
.x-bg-dark .x-facts strong { color: #fff; }
.x-facts span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; }

@media (max-width: 700px) {
  /* hero: picture first, short text, no bullet list */
  .x-hero { padding: 92px 0 70px; }
  .x-hero-grid { gap: 22px; }
  .x-hero-media { order: -1; }
  .x-hero-media > img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .x-chip { display: none; }
  .x-hero h1 { font-size: 28px; margin-bottom: 10px; }
  .x-hero .x-lead { font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .x-hero .x-ticks { display: none; }
  .x-hero .x-btns { margin-top: 18px; }
  .x-hero .x-btns .x-btn:nth-child(n+2) { display: none; }
  .x-btn { padding: 13px 18px; font-size: 14.5px; }
  .x-eyebrow { font-size: 11px; padding: 5px 12px; margin-bottom: 12px; }
  /* section headings: title only */
  .x-sec { padding: 40px 0; }
  .x-head { margin-bottom: 22px; }
  .x-head h2, .x-split-copy h2, .x-cta h2 { font-size: 23px; }
  .x-head p { display: none; }
  /* cards: two per row, one short line */
  .x-cards.x-cols-3, .x-cards.x-cols-4, .x-cards.x-cols-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .x-card { padding: 18px 14px; border-radius: 14px; }
  .x-card-ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px; }
  .x-card-ico .x-ico { width: 22px; height: 22px; }
  .x-card h3 { font-size: 15px; margin-bottom: 4px; }
  .x-card p { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .x-card-img { margin: -18px -14px 12px; aspect-ratio: 4 / 3; }
  .x-more { padding-top: 10px; font-size: 13px; }
  /* split: image first, 3 bullets, no paragraph */
  .x-split { gap: 22px; }
  .x-split-media { order: -1; }
  .x-split-copy > p { display: none; }
  .x-split-copy .x-ticks li:nth-child(n+4) { display: none; }
  .x-ticks { gap: 9px; margin-top: 14px; }
  .x-facts > div { flex: 1; min-width: 0; padding: 12px 14px; }
  .x-facts strong { font-size: 32px; }
  /* steps: slim rows */
  .x-steps { gap: 10px; }
  .x-step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; }
  .x-step-no { flex: none; margin: 0; width: 36px; height: 36px; font-size: 15px; }
  .x-step h3 { font-size: 15px; margin: 0 0 2px; }
  .x-step p { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* compare: title + 3 points */
  .x-comp { padding: 20px 18px; }
  .x-comp > p { display: none; }
  .x-comp .x-ticks li:nth-child(n+4) { display: none; }
  .x-comp h3 { font-size: 19px; }
  /* flow: compact rows, no small text */
  .x-flow { gap: 0; }
  .x-node { flex-direction: row; text-align: left; padding: 12px 16px; gap: 14px; border-radius: 14px; }
  .x-node small { display: none; }
  .x-node strong { font-size: 15.5px; }
  .x-node-ico { width: 40px; height: 40px; margin: 0; box-shadow: none; flex: none; }
  .x-node-ico .x-ico { width: 20px; height: 20px; }
  .x-flow-arrow { height: 22px; }
  .x-flow-arrow .x-ico { width: 18px; height: 18px; }
  /* gallery, pills, faq, cta */
  .x-gallery { gap: 10px; }
  .x-gallery .x-shot:nth-child(n+4) { display: none; }
  .x-shot figcaption { font-size: 12px; padding: 24px 10px 8px; }
  .x-pills { gap: 10px; }
  .x-pill strong { font-size: 15px; } .x-pill small { display: none; }
  .x-faq-item summary { padding: 16px 28px 16px 0; font-size: 15px; }
  .x-faq-item p { font-size: 14px; margin-bottom: 14px; }
  .x-cta { padding: 44px 0; }
  .x-cta p, .x-cta-points { display: none; }
  .x-stat-label { font-size: 13.5px; } .x-stat-note { display: none; }
}
.x-bg-dark .x-head h2 { color: #fff; }
.x-bg-dark .x-head p { color: rgba(255,255,255,.8); }

/* core businesses showcase (x_core) */
.xc-sec { --xc-a: color-mix(in srgb, var(--color-primary) 45%, #5b9dff); position: relative; overflow: clip; color: rgba(255,255,255,.78);
  background: radial-gradient(900px 420px at 12% -5%, color-mix(in srgb, var(--xc-a) 34%, transparent), transparent 62%), radial-gradient(800px 420px at 100% 105%, rgba(90,120,255,.20), transparent 60%), var(--color-dark); }
.xc-sec::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%); pointer-events: none; }
.xc-sec .container { position: relative; }
.xc-sec .x-head h2 { color: #fff; }
.xc-sec .x-head p { color: rgba(255,255,255,.7); }
.xc-sec .x-eyebrow { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.xc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.xc-card { --mx: 50%; --my: 0%; grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 22px; overflow: hidden; color: inherit; text-decoration: none;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.13); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.xc-card:nth-child(n+4) { grid-column: span 3; }
.xc-n3 .xc-card, .xc-n4 .xc-card { grid-column: auto; }
.xc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx) var(--my), color-mix(in srgb, var(--xc-a) 38%, transparent), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.xc-card::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--xc-a), transparent); transform: scaleX(.25); transform-origin: left; transition: transform .45s; }
.xc-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--xc-a) 70%, #fff 0%); box-shadow: 0 30px 60px -28px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--xc-a) 40%, transparent); }
.xc-card:hover::before { opacity: 1; }
.xc-card:hover::after { transform: scaleX(1); }
.xc-card > * { position: relative; }
.xc-no { position: absolute; right: 22px; top: 14px; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16); pointer-events: none; }
.xc-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, var(--xc-a), color-mix(in srgb, var(--xc-a) 55%, #fff)); box-shadow: 0 14px 28px -10px var(--xc-a); transition: transform .35s; }
.xc-ico .x-ico { width: 28px; height: 28px; }
.xc-card:hover .xc-ico { transform: rotate(-6deg) scale(1.08); }
.xc-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; color: #fff; }
.xc-card p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.72); }
.xc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.xc-tags li { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.88); }
.xc-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.xc-facts > div { flex: 1 1 150px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.1); }
.xc-facts b { font-size: 30px; line-height: 1; font-weight: 800; color: #fff; }
.xc-facts span { font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.72); }
.xc-go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-weight: 700; font-size: 14px; color: #fff; }
.xc-go i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform .3s, background .3s; }
.xc-go .x-ico { width: 15px; height: 15px; }
.xc-card:hover .xc-go i { transform: translateX(6px); background: var(--xc-a); }
@media (max-width: 960px) { .xc-grid { grid-template-columns: 1fr 1fr; } .xc-card, .xc-card:nth-child(n+4) { grid-column: auto; } .xc-n5 .xc-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .xc-grid { grid-template-columns: 1fr; gap: 14px; } .xc-n5 .xc-card:last-child { grid-column: auto; } .xc-card { padding: 24px 22px 22px; } .xc-no { font-size: 52px; } }
@media (prefers-reduced-motion: reduce) { .xc-card, .xc-card::after, .xc-ico, .xc-go i { transition: none; } }

/* light hero (pictures from Admin → Page Images) */
.has-light .hero-slides { height: calc(min(56.25vw, 900px) + 78px); min-height: 0; background: #f4f7fc; }
.hs-light { background: #f4f7fc; }
.hs-light::before { display: none; }
.hs-light::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #f4f7fc 0%, rgba(244,247,252,.93) 30%, rgba(244,247,252,.55) 46%, rgba(244,247,252,0) 64%); }
.hs-img { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.hs-content { position: relative; z-index: 2; width: 100%; padding-top: 78px; }
.hs-content > * { max-width: 560px; }
.hs-light.is-active .hs-content > * { animation: hsIn .8s cubic-bezier(.2,.8,.2,1) both; }
.hs-light.is-active .hs-content > :nth-child(2) { animation-delay: .1s; } .hs-light.is-active .hs-content > :nth-child(3) { animation-delay: .2s; } .hs-light.is-active .hs-content > :nth-child(4) { animation-delay: .3s; }
.hs-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid #dbe4f5; box-shadow: 0 8px 24px -12px rgba(11,61,145,.35); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 20px; }
.hs-chip b { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 99px; background: var(--color-primary); color: #fff; font-size: 12px; letter-spacing: 0; }
.hs-content h1 { color: var(--color-dark); font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin: 0 0 16px; }
.hs-content p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--color-text); margin: 0 0 26px; }
.hs-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--color-dark); background: #fff; border: 1px solid #d5dff2; transition: transform .2s, box-shadow .2s; }
.hs-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(11,27,61,.4); }
.hs-btn.is-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 14px 28px -12px var(--color-primary); }
.hs-btn .x-ico { width: 17px; height: 17px; }
.has-light .hero-dots { bottom: 18px; }
.has-light .hero-dot { background: rgba(11,27,61,.22); }
.has-light .hero-dot.is-active { background: var(--color-primary); width: 26px; border-radius: 99px; transform: none; }
@keyframes hsZoom { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@keyframes hsIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .has-light .hero-slides { height: clamp(580px, 160vw, 700px); }
  .hs-light { align-items: flex-start; }
  .hs-light::after { background: linear-gradient(180deg, #f4f7fc 0%, rgba(244,247,252,.95) 36%, rgba(244,247,252,.6) 52%, rgba(244,247,252,0) 70%); }
  .hs-img { inset: auto 0 0 0; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
  .hs-content { padding-top: 100px; }
  .hs-btn:not(.is-primary) { display: none; }
  .hs-chip { margin-bottom: 14px; font-size: 11px; }
  .hs-content h1 { font-size: 30px; margin-bottom: 10px; }
  .hs-content p { font-size: 15px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hs-btn { padding: 12px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hs-light.is-active .hs-img, .hs-light.is-active .hs-content > * { animation: none; } }

/* x_core: pictures + phone swipe */
.xc-media { position: relative; margin: -30px -28px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px 22px 0 0; background: #0b1b3d; }
.xc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.xc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,14,31,0) 45%, rgba(11,27,61,.85) 100%); }

.xc-media + .xc-no { top: 14px; right: 18px; -webkit-text-stroke-color: rgba(255,255,255,.55); }
.xc-media ~ .xc-ico { margin-top: -50px; margin-bottom: 18px; border: 3px solid #121c36; width: 60px; height: 60px; }
.xc-card:has(.xc-media) .xc-no { z-index: 2; }
.xc-dots { display: none; }
@media (max-width: 720px) {
  /* phones: plain scroll — each card slides up and stacks over the previous one; after the 5th the page moves on */
  .xc-grid { display: block; padding-bottom: 8px; }
  .xc-card, .xc-card:nth-child(n+4), .xc-n5 .xc-card:last-child { display: flex; position: sticky; top: calc(92px + var(--i, 0) * 9px); margin: 0 0 26px; max-width: none; grid-column: auto;
    background: linear-gradient(160deg, #1b2850, #121c38); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 -14px 30px -18px rgba(0,0,0,.8), 0 24px 40px -24px rgba(0,0,0,.7); }
  .xc-card { padding: 24px 22px 22px; }
  .xc-media { margin: -24px -22px 0; }
  .xc-card:hover { transform: none; }
  .xc-card p { font-size: 14.5px; }
  .xc-dots { display: none; }
}

/* x_journey: animated 5-step infographic */
.xj-sec { background: linear-gradient(180deg, #f4f7fc, #fff 70%); overflow: clip; }
.xj { position: relative; }
.xj-rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); margin: 0 auto 34px; max-width: 980px; }
.xj-line { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 28px; height: 4px; border-radius: 4px; background: #dfe7f5; overflow: hidden; }
.xj-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--color-primary), #5b9dff); transition: width .8s cubic-bezier(.2,.8,.2,1); position: relative; }
.xj-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: xjShine 2.4s linear infinite; }
.xj-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--color-text-muted); }
.xj-dot { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid #d3def2; color: #7d8ca8; box-shadow: 0 10px 24px -14px rgba(11,61,145,.5); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.xj-dot .x-ico { width: 26px; height: 26px; }
.xj-lab { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.xj-lab small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.xj-lab b { font-size: 15px; color: var(--color-dark); font-weight: 700; }
.xj-node.is-done .xj-dot { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.xj-node.is-on .xj-dot { background: linear-gradient(135deg, var(--color-primary), #4d8dff); border-color: transparent; color: #fff; transform: scale(1.14); box-shadow: 0 0 0 7px rgba(31,107,255,.14), 0 16px 30px -10px var(--color-primary); animation: xjPulse 2s ease-out infinite; }
.xj-node:hover .xj-dot { transform: translateY(-3px); }
.xj-node.is-on:hover .xj-dot { transform: scale(1.14); }
.xj-stage { position: relative; }
.xj-panel { display: none; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; background: #fff; border: 1px solid #e3eaf6; border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px -48px rgba(11,27,61,.45); }
.xj-panel.is-on { display: grid; animation: xjIn .6s cubic-bezier(.2,.8,.2,1) both; }
.xj-fig { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #eaf0fb; }
.xj-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xj-panel.is-on .xj-fig img { animation: hsZoom 8s ease-out both; }
.xj-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: 13px; color: var(--color-dark); box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.xj-badge .x-ico { width: 18px; height: 18px; color: var(--color-primary); }
.xj-copy { padding: 8px 18px 8px 0; }
.xj-k { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 10px; }
.xj-copy h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; color: var(--color-dark); }
.xj-copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.xj-copy ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.xj-copy li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--color-dark); font-size: 15px; }
.xj-copy li .x-ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(31,107,255,.12); color: var(--color-primary); }
.xj-copy .xc-facts > div { background: #f4f7fc; border-color: #e3eaf6; }
.xj-copy .xc-facts b { color: var(--color-primary); } .xj-copy .xc-facts span { color: var(--color-text); }
.xj-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--color-primary); }
.xj-link i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(31,107,255,.12); transition: transform .3s, background .3s, color .3s; }
.xj-link .x-ico { width: 15px; height: 15px; }
.xj-link:hover i { transform: translateX(6px); background: var(--color-primary); color: #fff; }
.xj-bar { height: 3px; max-width: 980px; margin: 26px auto 0; border-radius: 3px; background: #e3eaf6; overflow: hidden; }
.xj-bar i { display: block; height: 100%; width: 0; background: var(--color-primary); }
@keyframes xjBar { from { width: 0; } to { width: 100%; } }
@keyframes xjShine { to { transform: translateX(100%); } }
@keyframes xjPulse { 0% { box-shadow: 0 0 0 0 rgba(31,107,255,.4), 0 16px 30px -10px var(--color-primary); } 70%, 100% { box-shadow: 0 0 0 14px rgba(31,107,255,0), 0 16px 30px -10px var(--color-primary); } }
@keyframes xjIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  .xj-rail { margin-bottom: 22px; }
  .xj-line { top: 23px; }
  .xj-dot { width: 48px; height: 48px; } .xj-dot .x-ico { width: 21px; height: 21px; }
  .xj-lab small { display: none; } .xj-lab b { font-size: 11.5px; text-align: center; }
  .xj-node { gap: 7px; }
  .xj-node.is-on .xj-lab b { color: var(--color-primary); }
  .xj-panel { grid-template-columns: 1fr; gap: 0; padding: 12px; border-radius: 22px; }
  .xj-fig { aspect-ratio: 16 / 9; border-radius: 16px; }
  .xj-copy { padding: 18px 8px 8px; }
  .xj-copy h3 { font-size: 23px; } .xj-copy p { font-size: 15px; margin-bottom: 14px; }
  .xj-copy ul { gap: 8px; margin-bottom: 16px; } .xj-copy li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .xj-node.is-on .xj-dot, .xj-fill::after, .xj-panel.is-on, .xj-panel.is-on .xj-fig img { animation: none; } }
.xc-media, .xc-card:nth-child(n+4) .xc-media { aspect-ratio: 16 / 9; }
.hs-content > * { max-width: 520px; }

@media (max-width: 720px) { .xc-card .xc-facts { display: none; } .xc-card .xc-facts > div { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; } .xc-card .xc-facts b { font-size: 26px; } .xc-card .xc-facts span { font-size: 12px; } }

.xc-media img { object-position: 50% 50%; transform: none; }
.xj-fig img { object-position: 50% 50%; }

@media (max-width: 820px) {
  .xj-pin { position: relative; }
  .xj-pin .xj { position: sticky; top: 74px; }
  .xj-fig { aspect-ratio: 16 / 9; }
  .xj-bar { margin-top: 16px; }
}
@media (max-width: 820px) {
  .xj-copy .xc-facts { flex-wrap: nowrap; gap: 8px; margin: 0 0 14px; }
  .xj-copy .xc-facts > div { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; }
  .xj-copy .xc-facts b { font-size: 24px; } .xj-copy .xc-facts span { font-size: 12px; }
}
@media (max-width: 820px) {
  .xj-fig { aspect-ratio: 16 / 9; }
  .xj-copy:has(.xc-facts) ul { display: none; }
  .xj-copy p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

/* product range (x_range) */
.xr-sec { background: linear-gradient(180deg, #eef3fc 0%, #f7f9fe 100%); }
.xr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.xr-card { background: #fff; border: 1px solid #dfe7f6; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 40px -28px rgba(11,27,61,.35); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.xr-card:hover { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: 0 28px 50px -26px rgba(31,107,255,.45); }
.xr-media { position: relative; aspect-ratio: 4 / 3; background: #eaf0fb; overflow: hidden; }
.xr-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xr-nopic { background: linear-gradient(135deg, #0b3d91, #1f6bff); }
.xr-nopic::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -15%; top: -20%; border-radius: 50%; background: rgba(255,255,255,.1); }
.xr-ico { position: absolute; left: 16px; bottom: -22px; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--color-primary), #4d8dff); color: #fff; box-shadow: 0 12px 24px -10px var(--color-primary); border: 3px solid #fff; z-index: 2; }
.xr-ico .x-ico { width: 24px; height: 24px; }
.xr-nopic .xr-ico { bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); box-shadow: none; }
.xr-body { padding: 34px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.xr-body h3 { margin: 0; font-size: 21px; color: var(--color-dark); line-height: 1.2; }
.xr-body p { margin: 0; color: var(--color-text); font-size: 15px; line-height: 1.55; }
.xr-tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xr-tags li { padding: 4px 11px; border-radius: 99px; background: #eef3fc; color: #0b3d91; font-size: 12px; font-weight: 600; }
.xr-more { margin-top: 26px; border-radius: 22px; background: linear-gradient(135deg, #0b1b3d, #0b3d91); color: #fff; padding: 34px 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.xr-more::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(77,141,255,.5), transparent 65%); }
.xr-more-txt { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.xr-plus { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14); font-size: 26px; font-weight: 700; line-height: 1; }
.xr-more h3 { margin: 0; color: #fff; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.xr-more p { margin: 0 0 6px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.xr-marq { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.xr-track { display: flex; width: max-content; animation: xrRun 38s linear infinite; }
.xr-set { display: flex; flex-wrap: nowrap; gap: 10px; padding-right: 10px; }
.xr-set span { white-space: nowrap; padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); font-weight: 600; font-size: 14px; color: #fff; }
@keyframes xrRun { to { transform: translateX(-50%); } }
@media (max-width: 960px) { .xr-grid { grid-template-columns: 1fr 1fr; } .xr-more { grid-template-columns: 1fr; padding: 28px 24px; } }
@media (max-width: 620px) {
  .xr-grid { gap: 12px; }
  .xr-card { border-radius: 16px; }
  .xr-media { aspect-ratio: 1 / 1; }
  .xr-ico { width: 42px; height: 42px; left: 12px; bottom: -18px; border-radius: 12px; }
  .xr-ico .x-ico { width: 20px; height: 20px; }
  .xr-body { padding: 26px 12px 14px; gap: 5px; }
  .xr-body h3 { font-size: 16px; }
  .xr-body p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .xr-tags { display: none; }
  .xr-more { padding: 24px 18px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .xr-track { animation: none; } .xr-card { transition: none; } }

/* app download block in the footer (QR + button) */
.app-get{display:flex;gap:14px;align-items:center;margin-top:16px;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;max-width:340px}
.app-qr{flex:0 0 auto;width:92px;height:92px;background:#fff;border-radius:8px;padding:5px;box-sizing:border-box;line-height:0}
.app-qr canvas,.app-qr img{width:100%!important;height:100%!important;display:block}
.app-get b{display:block;color:#fff;font-size:14px;margin-bottom:2px}.app-get span{display:block;font-size:12px;line-height:1.4;opacity:.8;margin-bottom:8px}
.app-get .app-btn{display:inline-block!important;padding:7px 12px!important;border-radius:8px;background:#fff;color:#111!important;font-weight:700;font-size:13px}
.app-get .app-btn:hover{opacity:.9;color:#111!important}
.efoot .app-qr img,.efoot .app-qr canvas{filter:none!important;height:100%!important;max-width:none}
.app-get .app-btn{white-space:nowrap}
@media(max-width:600px){.app-get{flex-direction:column;align-items:flex-start;max-width:none}.app-qr{width:120px;height:120px}}
