/* ================= Horeka landing ================= */
:root {
  --navy: #0b2d63; --navy-2: #0a2350; --navy-3: #061a3d; --blue: #1460d6; --blue-2: #2f7cf0; --sky: #eaf2ff; --sky-2: #f4f8fe;
  --ink: #14223f; --ink-2: #44526e; --muted: #7d8aa5; --line: #dfe6f2; --white: #fff;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --container: 1200px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
svg use { pointer-events: none; }
::selection { background: var(--blue); color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.navy { color: var(--navy); } .blue { color: var(--blue); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow.light { color: #9cc2ff; }
.title { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.5px; line-height: 1.12; }
.title.light { color: #fff; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); line-height: 1.65; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head > div:first-child { max-width: 640px; }
.section-head .lead { max-width: 440px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 26px; border-radius: 4px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); position: relative; overflow: hidden; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); box-shadow: 0 14px 30px -10px rgba(20, 96, 214, .6); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--c, var(--navy)); border-color: rgba(255, 255, 255, .6); }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-block { width: 100%; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--navy-3); display: grid; place-items: center; color: #fff; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-mark { width: 64px; height: 64px; --swoosh: #5ea2ff; }
.loader-word { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: 8px; display: flex; overflow: hidden; }
.loader-word span { display: inline-block; }
.loader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: #5ea2ff; transform-origin: left; transform: scaleX(0); }
body.no-js .loader, body.loaded .loader { display: none; }

.progress-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #5ea2ff); transform-origin: left; transform: scaleX(0); z-index: 200; }
.cursor { position: fixed; left: 0; top: 0; width: 36px; height: 36px; border: 1.5px solid var(--blue); border-radius: 50%; pointer-events: none; z-index: 300; opacity: 0; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: multiply; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; background: rgba(20, 96, 214, .12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(11, 45, 99, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; transition: height .3s var(--ease); }
.header.scrolled .header-inner { height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.logo-mark { width: 52px; height: 52px; transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-text b { display: block; font-family: var(--serif); font-size: 30px; letter-spacing: 1px; line-height: 1; }
.logo-text small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 4px; color: var(--navy); }
.logo.light { color: #fff; } .logo.light small { color: #c9d6ef; } .logo.light .logo-mark { --swoosh: #5ea2ff; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: 14.5px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px; border-radius: 6px; }
.lang:hover { color: var(--blue); background: var(--sky); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--navy-3); color: #fff; padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: clamp(28px, 8vw, 40px); font-weight: 700; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--ease); }
.mobile-menu nav a i { font-family: var(--sans); font-style: normal; font-size: 12px; color: #7fb0ff; letter-spacing: 1px; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .15s; } .menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .2s; } .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .3s; } .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .35s; } .menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .4s; }
.mobile-menu-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9cc2ff; font-weight: 600; }
.menu-open .header { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo, .menu-open .header .logo small { color: #fff; }
.menu-open .burger span { background: #fff; }
.menu-open { overflow: hidden; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 55%); min-height: min(calc(100vh - 78px), 680px); border-bottom: 1px solid var(--line); }
.hero-text { padding: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 48px) clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--container)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 5.6vw, 82px); line-height: 1.04; letter-spacing: -1.5px; margin-bottom: 26px; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(16px, 1.45vw, 20px); color: var(--ink-2); margin-bottom: 34px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; font-size: 14px; color: var(--ink-2); }
.hero-trust b { color: var(--navy); }
.hero-trust span { color: #e0a100; font-size: 13px; letter-spacing: .5px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }
.hero-media { position: relative; overflow: hidden; background: var(--sky); }
.hero-img { position: absolute; inset: 0; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform-origin: 55% 45%; }
.hero-caption { position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, .94); padding: 12px 22px; font-size: 14px; color: var(--ink-2); backdrop-filter: blur(6px); }
.float-card { position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(6, 26, 61, .45); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.float-card b { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.fc-1 { left: 28px; bottom: 80px; }
.fc-2 { right: 28px; top: 28px; max-width: 230px; }
.fc-2 svg { width: 36px; height: 36px; flex: none; color: #fff; background: var(--blue); border-radius: 10px; padding: 8px; }
.fc-2 b { font-family: var(--sans); font-size: 15px; color: var(--navy); }

/* Strip */
.strip { border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; gap: 22px; align-items: flex-start; padding: 34px 32px; position: relative; }
.strip-item:first-child { padding-left: 0; }
.strip-item + .strip-item::before { content: ''; position: absolute; left: 0; top: 30px; bottom: 30px; width: 1px; background: var(--line); }
.strip-item svg { width: 48px; height: 48px; color: var(--blue); flex: none; transition: transform .5s var(--ease); }
.strip-item:hover svg { transform: translateY(-4px) rotate(-4deg); }
.strip-item h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.strip-item p { font-size: 14.5px; color: var(--ink-2); }

/* Marquee */
.marquee { overflow: hidden; background: var(--sky-2); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.marquee-track i { color: var(--blue-2); font-style: normal; font-size: 14px; align-self: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Values */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard { border: 1px solid #d5e2f6; padding: 32px 30px 30px; background: #fff; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; overflow: hidden; }
.vcard::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #5ea2ff); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.vcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(11, 45, 99, .35); border-color: transparent; }
.vcard:hover::before { transform: scaleX(1); }
.vcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.vcard .num { font-family: var(--serif); font-size: 44px; color: #6aa2ef; line-height: 1; font-weight: 500; }
.vcard-top svg { width: 46px; height: 46px; color: var(--blue); transition: transform .6s var(--ease); }
.vcard:hover .vcard-top svg { transform: scale(1.12) rotate(-6deg); }
.vcard h3 { font-family: var(--serif); font-size: 28px; color: var(--navy); margin-bottom: 12px; }
.vcard p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 26px; min-height: 75px; }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.more:hover svg { transform: translateX(5px); }

/* Stacking solution cards */
.solutions { background: var(--sky-2); }
.stack-cards { display: flex; flex-direction: column; gap: 28px; }
.scard { position: sticky; top: 104px; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 440px; background: var(--c); color: #fff; overflow: hidden; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(6, 26, 61, .55); transform-origin: center top; }
.scard:nth-child(2) { top: 124px; } .scard:nth-child(3) { top: 144px; }
.scard-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.scard-body::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 0, 0, .18), transparent 60%); pointer-events: none; }
.scard-idx { font-size: 13px; letter-spacing: 3px; font-weight: 700; opacity: .75; margin-bottom: 14px; }
.scard h3 { font-family: var(--serif); font-size: clamp(30px, 3.3vw, 44px); margin-bottom: 14px; }
.scard-lead { font-size: 16.5px; opacity: .92; margin-bottom: 20px; max-width: 480px; }
.scard ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.scard li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.scard li::before { content: ''; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.scard .btn { align-self: flex-start; position: relative; }
.scard-media { position: relative; overflow: hidden; }
.scard-media img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }

/* Process */
.process { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.process-media { position: relative; overflow: hidden; }
.process-media img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; }
.process-panel { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.process-watermark { position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); color: rgba(255, 255, 255, .04); --swoosh: rgba(94, 162, 255, .08); pointer-events: none; }
.process .title { margin-bottom: 30px; font-size: clamp(32px, 3.6vw, 46px); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; max-width: 520px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); cursor: default; }
.step-n { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); display: grid; place-items: center; font-size: 15px; flex: none; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.step h3 { font-size: 19px; font-weight: 500; margin-top: 9px; }
.step p { font-size: 14.5px; color: #b9c8e6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.step.active .step-n, .step:hover .step-n { background: var(--blue-2); border-color: var(--blue-2); transform: scale(1.06); }
.step.active p, .step:hover p { max-height: 90px; opacity: 1; margin-top: 6px; }
.process-foot { margin-top: 26px; font-size: 15px; color: #d4e0f5; }

/* Stats */
.stats { background: var(--navy-3); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(47, 124, 240, .35), transparent), radial-gradient(500px 220px at 90% 100%, rgba(47, 124, 240, .25), transparent); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1.1; background: linear-gradient(180deg, #fff, #9cc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: #b9c8e6; font-size: 15px; }

/* Cases slider */
.cases { overflow: hidden; }
.slider-nav { display: flex; gap: 10px; }
.sbtn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.sbtn:hover { background: var(--navy); color: #fff; }
.sbtn svg { width: 20px; height: 20px; }
.case-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px; scrollbar-width: none; cursor: grab; outline: none; }
.case-track::-webkit-scrollbar { display: none; }
.case-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.case-track.dragging * { pointer-events: none; }
.case { flex: 0 0 clamp(280px, 30vw, 380px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; user-select: none; }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(11, 45, 99, .4); }
.case-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case:hover .case-img img { transform: scale(1.06); }
.case-img .tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; letter-spacing: .5px; }
.case-body { padding: 22px 22px 24px; }
.case-body h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.case-body p { color: var(--ink-2); font-size: 14.5px; min-height: 46px; }
.case-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-kpi b { display: block; font-family: var(--serif); font-size: 26px; color: var(--blue); }
.case-kpi span { font-size: 12.5px; color: var(--muted); }

/* Testimonials */
.testimonials { background: var(--sky-2); }
.testi-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.testi-dots { display: flex; gap: 10px; margin-top: 30px; }
.testi-dots button { width: 36px; height: 4px; border: 0; background: #c8d6ee; cursor: pointer; border-radius: 2px; padding: 0; position: relative; overflow: hidden; }
.testi-dots button.on::after { content: ''; position: absolute; inset: 0; background: var(--blue); animation: fill 6s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } }
.testi-stage { position: relative; min-height: 290px; background: #fff; padding: clamp(28px, 4vw, 48px); border-radius: 6px; box-shadow: 0 40px 70px -45px rgba(11, 45, 99, .45); }
.quote { position: absolute; right: 30px; top: 26px; width: 64px; height: 64px; color: var(--sky); }
.testi { margin: 0; position: absolute; inset: clamp(28px, 4vw, 48px); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.testi.active { opacity: 1; transform: none; pointer-events: auto; position: relative; inset: auto; }
.testi blockquote { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; color: var(--navy); }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi .av { width: 50px; height: 50px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; }
.testi figcaption b { display: block; color: var(--navy); }
.testi figcaption span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.faq .lead { margin-top: 20px; }
.faq .lead a { color: var(--blue); font-weight: 700; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 17.5px; color: var(--navy); position: relative; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231460d6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--sky); }
.qa summary:hover { color: var(--blue); }
.qa-a { overflow: hidden; }
.qa-a p { color: var(--ink-2); padding: 0 40px 22px 0; }

/* CTA + form */
.cta { background: linear-gradient(115deg, #f2f7ff 0%, #e4eefd 100%); padding: clamp(64px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 124, 240, .18), transparent 70%); left: -160px; bottom: -260px; }
.cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.cta .title { font-size: clamp(32px, 3.8vw, 48px); max-width: 560px; margin-bottom: 20px; }
.cta-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.cta-points li { display: flex; gap: 12px; align-items: center; color: var(--navy); font-weight: 500; }
.cta-points li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.lead-form { background: #fff; padding: clamp(24px, 3vw, 36px); border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(11, 45, 99, .45); position: relative; display: grid; gap: 14px; }
.lead-form h3 { font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.f { position: relative; }
.f input, .f select, .f textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 4px; padding: 22px 14px 8px; background: #fff; outline: none; transition: border-color .3s, box-shadow .3s; font-size: 15px; resize: vertical; }
.f select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8aa5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.f label { position: absolute; left: 15px; top: 15px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 96, 214, .12); }
.f input:focus + label, .f input:not(:placeholder-shown) + label, .f textarea:focus + label, .f textarea:not(:placeholder-shown) + label, .f label.static { top: 6px; font-size: 11.5px; color: var(--blue); font-weight: 600; }
.f.err input { border-color: #d64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; color: #c62828; min-height: 0; }
.form-msg:empty { display: none; }
.lead-form button[type=submit].loading span::after { content: '…'; }
.lead-form button[type=submit]:disabled { opacity: .7; cursor: wait; }
.form-done { position: absolute; inset: 0; background: #fff; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 12px; }
.form-done[hidden] { display: none; }
.form-done svg { width: 72px; height: 72px; color: #14804a; }
.form-done svg circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.form-done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done p { color: var(--ink-2); max-width: 300px; }

/* Footer */
.footer { background: var(--navy-3); color: #c9d6ef; padding: 56px 0 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 24px 48px; }
.footer-cols h4 { color: #fff; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a, .footer-cols span { display: block; font-size: 14.5px; margin-bottom: 9px; transition: color .3s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; }
.footer-bottom b { color: #fff; letter-spacing: 1px; } .footer-bottom i { font-style: normal; margin: 0 10px; opacity: .5; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 80; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease), background .3s; box-shadow: 0 12px 30px -10px rgba(6, 26, 61, .6); }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue); }

/* Pre-animation states (only when JS animations are active) */
.js-anim .reveal-up, .js-anim .vcard, .js-anim .strip-item, .js-anim .case, .js-anim .stat, .js-anim .qa, .js-anim .lead-form, .js-anim .step { opacity: 0; }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; } .nav a { font-size: 14px; }
  .header-cta .lang span { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .header-inner { height: 66px; }
  .logo-mark { width: 42px; height: 42px; } .logo-text b { font-size: 24px; } .logo-text small { font-size: 7.5px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding: 44px var(--gutter) 40px; }
  .hero-media { min-height: 62vw; }
  .strip-inner { grid-template-columns: minmax(0, 1fr); }
  .strip-item { padding: 22px 0; } .strip-item + .strip-item::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .value-cards { grid-template-columns: minmax(0, 1fr); }
  .vcard p { min-height: 0; }
  .scard { grid-template-columns: minmax(0, 1fr); position: relative; top: auto !important; min-height: 0; }
  .scard-media { height: 240px; order: -1; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process-media { height: 300px; }
  .step p { max-height: none; opacity: 1; margin-top: 6px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .testi-inner, .faq-inner, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(40px, 12vw, 52px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .fc-1 { left: 14px; bottom: 56px; padding: 10px 14px; } .fc-1 b { font-size: 24px; }
  .fc-2 { display: none; }
  .hero-caption { font-size: 12.5px; padding: 9px 14px; }
  .section-head { margin-bottom: 30px; }
  .case { flex-basis: 84vw; }
  .slider-nav { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .qa summary { font-size: 16px; }
  .to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
/* Fallback: hide the preloader even if scripts fail to run */
.loader { animation: loaderOut .6s ease 5s forwards; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
/* SplitText line masks: leave room for Vietnamese diacritics (ế, ữ, ặ…) so they are not clipped */
.title.split > div { padding: .2em 0 .1em; margin: -.2em 0 -.1em; }
/* Designer credit (small line at the very end of the footer) */
.footer-credit { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.footer-credit a { color: rgba(255, 255, 255, .78); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

.footer { padding-bottom: 28px; }
/* Mobile containment */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.header-inner > * { min-width: 0; }
.logo { min-width: 0; }
.logo-text { min-width: 0; }
@media (max-width: 960px) {
  .header-cta { margin-left: auto; gap: 4px; }
  .lang span { display: none; }
}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text b { font-size: 21px; }
  .logo-text small { font-size: 6.6px; letter-spacing: .6px; white-space: nowrap; }
  .lang { padding: 6px; }
  .burger { width: 40px; }
  .hero-trust { flex-wrap: wrap; }
  .float-card { max-width: calc(100% - 28px); }
  .stats-inner { gap: 28px 10px; }
  .stat span { font-size: 13.5px; }
}
@media (max-width: 340px) { .logo-text small { display: none; } }
