/* =============================================================================
   Hexasoftware landing
   ========================================================================== */
:root {
  --navy: #180448;
  --blue: #296BCD;
  --purple: #7D2FB8;
  --lav: #ECE9F6;
  --grad: linear-gradient(94deg, #296BCD 0%, #7D2FB8 100%);
  --head: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Figtree", Arial, sans-serif;
  --r: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font: 400 16px/1.45 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
[id] { scroll-margin-top: 90px; }

.h2 { font: 800 34px/1.1 var(--head); font-stretch: 125%; text-transform: uppercase; color: var(--navy); margin-bottom: 40px; }
.h2--center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 28px; border-radius: var(--r); font-weight: 700; font-size: 16px; transition: transform .2s, box-shadow .2s, filter .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(91, 47, 184, .25); }
.btn--grad:hover { filter: brightness(1.08); box-shadow: 0 10px 22px rgba(91, 47, 184, .35); }
.btn--sm { height: 34px; padding: 0 30px; font-size: 14px; }
.btn--white { background: #fff; color: var(--navy); height: 33px; padding: 0 36px; font-size: 14px; }
.btn--white:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 4px 20px rgba(24, 4, 72, .08); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { width: 168px; }
.hdr__right { display: flex; align-items: center; gap: 22px; }
.langs { display: flex; gap: 22px; }
.langs a { display: block; border-radius: 50%; transition: transform .2s, box-shadow .2s; }
.langs a:hover { transform: scale(1.08); }
.langs a.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(125, 47, 184, .45); }
.langs img { width: 34px; height: 34px; }

/* ---------- hero ---------- */
.hero { padding: 50px 0 80px; }
.hero__in { display: grid; grid-template-columns: 1fr 520px; align-items: center; gap: 30px; }
.hero__title { font: 800 66px/1 var(--head); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.5px; color: var(--navy); }
.hero__lead { margin-top: 36px; font-size: 26px; line-height: 1.1; max-width: 520px; }
.hero__apps { display: flex; gap: 22px; margin-top: 34px; }
.hero__apps li { width: 90px; transition: transform .25s; }
.hero__apps li:hover { transform: translateY(-6px) scale(1.04); }
.hero__apps img { filter: drop-shadow(0 8px 14px rgba(91, 31, 208, .35)); }
.hero__trusted { margin-top: 34px; font-size: 17px; }
.hero__art { position: relative; }
.hero__emblem { width: 100%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__btn { position: absolute; display: grid; place-items: center; text-align: center; font: 800 18px/1.05 var(--body); text-transform: uppercase; border-radius: var(--r); transition: transform .2s, box-shadow .2s; }
.hero__btn:hover { transform: translateY(-3px); }
.hero__btn--demo { right: 70px; top: 150px; width: 114px; height: 84px; background: #eef0fb; color: var(--navy); border: 2px solid var(--blue); }
.hero__btn--prop { right: 70px; top: 254px; width: 166px; height: 80px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(91, 47, 184, .35); }

/* ---------- solutions (tabs) ---------- */
.sol { padding: 20px 0 40px; }
.sol__tabs { display: grid; grid-template-columns: 330px 1fr; grid-template-rows: repeat(4, auto) 1fr; column-gap: 10px; row-gap: 10px; }
.sol__tab { grid-column: 1; min-height: 76px; padding: 16px 20px; text-align: start; border: 2px solid var(--blue); border-radius: var(--r); font: 700 16.5px/1.1 var(--body); color: var(--navy); background: #fff; transition: background .25s, color .25s, border-color .25s; }
.sol__tab:hover { border-color: var(--purple); }
.sol__tab.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.sol__panel { grid-column: 2; grid-row: 1 / -1; display: none; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 20px; min-height: 470px; padding: 40px 50px 40px 30px; border-radius: var(--r); color: #fff;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .14), transparent 45%), linear-gradient(160deg, #4767EA 0%, #4a2bb0 55%, #7D2FB8 100%); overflow: hidden; }
.sol__panel.is-active { display: grid; animation: fadeIn .45s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sol__art img { width: 100%; max-width: 380px; filter: drop-shadow(0 20px 30px rgba(20, 0, 80, .35)); }
.sol__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.35; }
.sol__list li + li { margin-top: 10px; }
.sol__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .8; }
.sol__body .btn { margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 40px; }
.cta__band { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 20px; border-radius: var(--r); background: var(--grad); color: #fff; text-align: center; overflow: hidden; transition: filter .2s, transform .2s; }
.cta__band::before, .cta__band::after { content: ""; position: absolute; width: 160px; height: 120px; background: url(../img/cta-deco.svg) no-repeat center / contain; }
.cta__band::before { left: -30px; top: -10px; }
.cta__band::after { right: -40px; bottom: -40px; }
.cta__band:hover { filter: brightness(1.08); transform: translateY(-2px); }
.cta__band b { font-size: 17px; }
.cta__band span { font-size: 14px; opacity: .95; }

/* ---------- stats ---------- */
.stats { padding: 35px 0 60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 130px; padding: 18px 16px; border-radius: var(--r); background: var(--grad); color: #fff; text-align: center; font-size: 17px; line-height: 1.1; transition: transform .25s, box-shadow .25s; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(91, 47, 184, .3); }
.stat b { font-weight: 500; }

/* ---------- special facts slider ---------- */
.facts { padding: 20px 0 50px; }
.facts__slider { position: relative; }
.facts__track { position: relative; min-height: 420px; }
.facts__slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.45fr; align-items: center; gap: 30px; padding: 0 100px 0 130px; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .6s, transform .6s, visibility .6s; }
.facts__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.facts__slide.is-left { transform: translateX(-40px); }
.facts__text { font: 700 23px/1.1 var(--body); color: var(--navy); }
.facts__img { width: 100%; }
.facts__img--photo { border-radius: 16px; box-shadow: 0 18px 40px rgba(24, 4, 72, .22); }
.facts__arrow { position: absolute; top: 50%; width: 60px; height: 60px; margin-top: -30px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; transition: transform .2s, background .2s; }
.facts__arrow:hover { background: var(--blue); transform: scale(1.06); }
.facts__arrow--prev { left: 12px; }
.facts__arrow--next { right: 12px; }

/* ---------- providers ---------- */
.prov { padding: 20px 0 40px; }
.prov .h2 { margin-bottom: 10px; }
.prov__row { overflow: hidden; padding: 18px 0; }
.prov__track { display: flex; transition: transform .5s ease; }
.prov__item { flex: 0 0 12.5%; display: grid; place-items: center; height: 72px; padding: 0 10px; transition: transform .25s; }
.prov__item:hover { transform: scale(1.08); }
.prov__item img { width: 100%; max-width: 150px; height: auto; pointer-events: none; user-select: none; }

/* ---------- success cases ---------- */
.cases { padding: 40px 0 50px; }
.cases .h2 { margin-bottom: 30px; }
.cases__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-left: 10px; margin-bottom: 30px; }
.cases__head p { font-size: 18px; }
.cases__head .btn { height: 38px; padding: 0 40px; font-size: 17px; }
.cases__slider { overflow: hidden; }
.cases__track { display: flex; transition: transform .6s ease; }
.case { flex: 0 0 100%; padding: 26px 20px 22px; border-radius: var(--r); background: var(--lav); }
.case__tag { font-size: 14px; }
.case__title { margin: 8px 0 16px; font: 400 18px/1.3 var(--body); }
.case p { font-size: 13.5px; line-height: 1.55; }
.cases__dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.cases__dots button { width: 18px; height: 18px; border-radius: 50%; background: var(--lav); transition: background .25s; }
.cases__dots button.is-active { background: var(--purple); }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 30px; }
.faq .h2 { margin-bottom: 30px; }
.faq__item { border: 1px solid #e3def3; border-radius: var(--r); background: #f1eff8; }
.faq__item + .faq__item { margin-top: 10px; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 66px; padding: 10px 20px 10px 10px; text-align: start; font-size: 17px; }
.faq__q i { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); transition: transform .3s; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 70px 20px 10px; font-size: 15px; line-height: 1.6; }

/* ---------- contact form ---------- */
.contact { padding: 50px 0 10px; }
.contact .h2 { margin-bottom: 20px; }
.cform { position: relative; max-width: 700px; margin: 0 auto; padding: 40px 30px 30px; background: #fff; border-top: 4px solid #a47bff; border-bottom: 4px solid #a47bff; box-shadow: 0 6px 24px rgba(24, 4, 72, .12); }
.cf { position: relative; display: block; margin: 0 0 6px; border-bottom: 1px solid #ece8f8; }
.cf input, .cf select, .cf textarea { display: block; width: 100%; height: 62px; padding: 24px 12px 6px; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--navy); }
.cf textarea { height: auto; min-height: 100px; padding-top: 30px; resize: vertical; }
.cf > span { position: absolute; left: 12px; top: 20px; font-size: 16px; color: #8b6cf0; pointer-events: none; transition: top .2s, font-size .2s; }
.cf > span i { color: #f0566e; font-style: normal; }
.cf input:focus + span, .cf input:not(:placeholder-shown) + span, .cf textarea:focus + span, .cf textarea:not(:placeholder-shown) + span, .cf.is-filled > span { top: 6px; font-size: 12px; }
.cf:focus-within { border-bottom-color: #a47bff; }
.cf.is-invalid { border-bottom-color: #f0566e; }
.cf--select > svg { position: absolute; right: 14px; top: 22px; color: #a47bff; pointer-events: none; transition: transform .25s; }
.cf--select.is-open > svg { transform: rotate(180deg); }
.cform__send { width: 100%; height: 52px; margin-top: 20px; border-radius: 4px; background: #a47bff; color: #fff; font-weight: 700; font-size: 16px; transition: background .2s; }
.cform__send:hover { background: #8b5cf6; }
.cform__send:disabled { opacity: .6; cursor: default; }
.cform__status { margin-top: 12px; min-height: 20px; font-size: 14px; text-align: center; }
.cform__status.is-ok { color: #16a34a; }
.cform__status.is-err { color: #dc2626; }

/* custom dropdown (country) */
.cselect > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect__btn { display: block; width: 100%; height: 62px; padding: 24px 40px 6px 12px; text-align: left; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); }
.cselect__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(24, 4, 72, .22), 0 0 0 1px rgba(125, 47, 184, .1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.cselect.is-up .cselect__panel { top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.cselect.is-open { z-index: 30; }
.cselect.is-open .cselect__panel { opacity: 1; visibility: visible; transform: none; }
.cselect__search { padding: 4px 4px 8px; }
.cselect__search input { width: 100%; height: 42px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--lav); font-size: 15px; outline: none; }
.cselect__search input:focus { box-shadow: 0 0 0 2px #a47bff; }
.cselect__list { max-height: 250px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cselect__opt { position: relative; padding: 10px 36px 10px 14px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.cselect__opt.is-active { background: var(--lav); }
.cselect__opt[aria-selected="true"] { color: var(--purple); font-weight: 700; }
.cselect__opt[aria-selected="true"]::after { content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 11px; margin-top: -7px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- footer ---------- */
.ftr { padding: 10px 0 18px; }
.ftr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 70px; }
.ftr .logo img { width: 158px; }
.ftr__social { display: flex; gap: 16px; }
.ftr__social a { transition: transform .2s; }
.ftr__social a:hover { transform: translateY(-3px); }
.ftr__link { justify-self: end; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.ftr__link:hover { color: var(--purple); }
.ftr__copy { margin-top: 6px; font-size: 12px; color: #8b85a8; }

/* floating buttons */
/* chat bar ("Send me a message") */
.chat { position: fixed; right: 80px; bottom: 0; z-index: 70; width: 300px; }
.chat__bar { display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 18px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, #5a3fc0 0%, #6f5ad6 55%, #8fa6f2 100%); color: #fff; font-size: 15px; font-weight: 500; box-shadow: 0 -4px 20px rgba(24, 4, 72, .18); transition: filter .2s; }
.chat__bar:hover { filter: brightness(1.08); }
.chat__bar svg { flex: none; }
.chat__panel { position: absolute; right: 0; bottom: 56px; width: 340px; max-width: calc(100vw - 24px); border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(24, 4, 72, .28); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .22s, visibility .22s; }
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(90deg, #5a3fc0, #8fa6f2); color: #fff; font-size: 15px; }
.chat__close { color: #fff; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.chat__close:hover { background: rgba(255, 255, 255, .18); }
.chat__body { display: grid; gap: 10px; padding: 16px; background: #f6f5fb; }
.chat__bubble { padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 14px; line-height: 1.45; box-shadow: 0 2px 8px rgba(24, 4, 72, .06); }
.chat__body input, .chat__body textarea { width: 100%; padding: 11px 12px; border: 1px solid #e1dcf3; border-radius: 8px; background: #fff; font-size: 14px; outline: none; resize: vertical; }
.chat__body input:focus, .chat__body textarea:focus { border-color: #8b6cf0; }
.chat__body .is-invalid { border-color: #f0566e; }
.chat__send { height: 42px; border-radius: 8px; background: linear-gradient(90deg, #5a3fc0, #7d5ce0); color: #fff; font-weight: 700; }
.chat__send:disabled { opacity: .6; }
.chat__status { font-size: 13px; text-align: center; min-height: 0; }
.chat__status:empty { display: none; }
.chat__status.is-ok { color: #16a34a; } .chat__status.is-err { color: #dc2626; }
.chat__alt { font-size: 13px; text-align: center; color: #6b6590; }
.chat__alt a { color: #039BE5; font-weight: 600; }

.to-top { position: fixed; right: 20px; bottom: 16px; z-index: 60; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 4px; background: #4a4a4a; color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top:hover { background: #2f2f2f; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- privacy ---------- */
.legal { padding: 40px 0 60px; }
.legal__in { max-width: 900px; }
.crumbs { margin-bottom: 20px; font-size: 14px; color: #8b85a8; }
.crumbs a:hover { color: var(--purple); }
.legal .h2 { font-size: 28px; margin-bottom: 30px; }
.legal h2 { margin: 28px 0 10px; font: 700 18px/1.3 var(--head); font-stretch: 112%; }
.legal p { margin-bottom: 10px; font-size: 15.5px; line-height: 1.65; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr 420px; }
  .hero__title { font-size: 54px; }
  .hero__btn--demo { top: 110px; right: 40px; }
  .hero__btn--prop { top: 210px; right: 40px; }
  .facts__slide { padding: 0 80px; }
  .prov__item { flex-basis: 25%; }
}
@media (max-width: 900px) {
  .sol__tabs { grid-template-columns: 1fr; grid-template-rows: none; }
  .sol__tab { min-height: 64px; text-align: center; }
  .sol__panel { grid-column: 1; grid-row: auto; min-height: 0; grid-template-columns: 1fr; padding: 30px 24px 34px; text-align: center; }
  .sol__art img { margin: 0 auto; max-width: 300px; }
  .sol__list { display: inline-block; text-align: left; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .facts__track { min-height: 520px; }
  .facts__slide { grid-template-columns: 1fr; text-align: center; padding: 0 60px; align-content: center; }
}
@media (max-width: 767px) {
  .h2 { font-size: 26px; margin-bottom: 26px; }
  .hdr__in { height: 62px; }
  .logo img { width: 128px; }
  .hdr__right, .langs { gap: 10px; }
  .langs img { width: 28px; height: 28px; }
  .btn--sm { padding: 0 14px; height: 32px; font-size: 13px; }
  .hero { padding: 26px 0 30px; }
  .hero__in { grid-template-columns: 1fr; gap: 10px; }
  .hero__title { font-size: 38px; }
  .hero__lead { margin-top: 16px; font-size: 19px; }
  .hero__apps { gap: 12px; margin-top: 22px; }
  .hero__apps li { width: 68px; }
  .hero__trusted { margin-top: 20px; font-size: 15px; }
  .hero__art { max-width: 360px; margin: 0 auto; }
  .hero__btn { font-size: 14px; }
  .hero__btn--demo { right: 0; top: 90px; width: 96px; height: 66px; }
  .hero__btn--prop { right: 0; top: 168px; width: 132px; height: 62px; }
  .stat { min-height: 110px; font-size: 14px; padding: 14px 10px; }
  .facts__track { min-height: 380px; }
  .facts__slide { padding: 0 8px; gap: 10px; }
  .facts__text { font-size: 18px; }
  .facts__arrow { width: 42px; height: 42px; margin-top: -21px; top: auto; bottom: -10px; }
  .facts__arrow--prev { left: calc(50% - 52px); }
  .facts__arrow--next { right: calc(50% - 52px); }
  .facts { padding-bottom: 70px; }
  .prov__item { flex-basis: 50%; height: 64px; }
  .cases__head { flex-direction: column; align-items: flex-start; padding-left: 0; }
  .cases__head p { font-size: 16px; }
  .faq__q { font-size: 15px; }
  .faq__a p { padding-right: 20px; }
  .cform { padding: 26px 16px 20px; }
  .ftr__in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .ftr__link { justify-self: center; }
  .ftr__copy { text-align: center; }
  .chat { right: 14px; bottom: 14px; width: auto; }
  .chat__bar { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 8px 22px rgba(90, 63, 192, .4); }
  .chat__bar span { display: none; }
  .chat__panel { bottom: 64px; }
  .to-top { right: 18px; bottom: 80px; }
  .ftr { padding-bottom: 80px; }
}
