/* ============================================================
   OneRoot ProTech — Theme
   Modern B2B design system (no framework dependency)
   ============================================================ */
:root {
    --navy: #0b1b34;
    --navy-2: #122a4e;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --sky: #eff6ff;
    --ink: #1e293b;
    --muted: #5b6b82;
    --line: #e5eaf1;
    --bg-soft: #f6f8fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 27, 52, .08);
    --shadow-lg: 0 20px 50px rgba(11, 27, 52, .14);
    --font: 'Plus Jakarta Sans', -apple-system, Segoe UI, Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); line-height: 1.65; background: var(--white); font-size: 16px; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: var(--blue); transition: color .2s; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .25s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--blue); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 88px; }
.brand img { height: 58px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 6px; align-items: center; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); background: var(--sky); }
.main-nav .fa-chevron-down { font-size: .65rem; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transition: all .22s; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; font-weight: 500; font-size: .9rem; border-radius: 8px; width: 100%; }
.dropdown a i { color: var(--blue); width: 18px; text-align: center; }
.header-cta { margin-left: 8px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all .25s; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(37,99,235,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 110px 0 130px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { display: inline-block; background: rgba(37,99,235,.25); border: 1px solid rgba(96,165,250,.4); color: #bfdbfe; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: #60a5fa; }
.hero p.lead { font-size: 1.15rem; color: #c8d4e8; margin-bottom: 34px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats-band { background: #fff; margin-top: -60px; position: relative; z-index: 2; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--blue); }
.stat .label { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; display: block; margin-bottom: 10px; }
.section-head p { margin-top: 14px; }

/* ---------- Service cards ---------- */
.bg-soft { background: var(--bg-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: all .25s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 20px; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc-card p { font-size: .92rem; flex: 1; }
.svc-card .more { margin-top: 18px; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.svc-card .more i { transition: transform .2s; }
.svc-card:hover .more i { transform: translateX(4px); }
.center-cta { text-align: center; margin-top: 44px; }

/* ---------- Feature / why-us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li i { color: var(--blue); margin-top: 4px; }
.check-list li span small { display: block; color: var(--muted); font-weight: 400; }
.visual-panel { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 20px; padding: 44px; color: #fff; box-shadow: var(--shadow-lg); }
.visual-panel .vp-row { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.visual-panel .vp-row:last-child { margin-bottom: 0; }
.visual-panel .vp-row i { font-size: 1.2rem; color: #60a5fa; width: 26px; text-align: center; }
.visual-panel .vp-row strong { display: block; font-size: .98rem; }
.visual-panel .vp-row span { font-size: .85rem; color: #b9c6dc; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.process-step .step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .9rem; }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0; }
.page-hero .breadcrumb { font-size: .85rem; color: #93a7c4; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: #bfdbfe; }
.page-hero h1 { color: #fff; }
.page-hero p.lead { color: #c8d4e8; max-width: 640px; margin-top: 14px; font-size: 1.08rem; }

/* ---------- Service detail ---------- */
.svc-hero-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(37,99,235,.25); border: 1px solid rgba(96,165,250,.4); color: #93c5fd; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 22px; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.detail-body p { margin-bottom: 18px; font-size: 1.02rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 10px; padding: 16px 18px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.feature-item i { color: var(--blue); margin-top: 4px; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 30px; position: sticky; top: 100px; }
.side-card h3 { color: #fff; margin-bottom: 12px; }
.side-card p { color: #b9c6dc; font-size: .95rem; margin-bottom: 22px; }
.side-card .btn { width: 100%; justify-content: center; }
.side-links { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.side-links h4 { color: #93a7c4; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.side-links a { display: block; color: #dbe6f5; font-size: .92rem; padding: 7px 0; }
.side-links a:hover { color: #60a5fa; }
.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 30px 26px; }
.benefit-card i { color: var(--blue); font-size: 1.5rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.benefit-card p { font-size: .92rem; }

/* ---------- About ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.value-card .icon { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.value-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.value-card p { font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-status { display: none; padding: 14px 18px; border-radius: 10px; font-weight: 500; font-size: .93rem; margin-bottom: 18px; }
.form-status.ok { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-status.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; margin-bottom: 20px; }
.info-card .row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.info-card .row:last-child { margin-bottom: 0; }
.info-card .row i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.info-card .row strong { display: block; color: var(--navy); font-size: .95rem; }
.info-card .row a, .info-card .row span { color: var(--muted); font-size: .92rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose p, .prose li { margin-bottom: 12px; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- CTA band + Footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #dbeafe; }
.site-footer { background: var(--navy); color: #b9c6dc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 70px 24px 50px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #93a7c4; font-size: .92rem; }
.footer-social { margin-top: 20px; display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--blue); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #93a7c4; font-size: .92rem; }
.footer-col a:hover { color: #60a5fa; }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact i { color: #60a5fa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-bottom a { color: #7c8db0; font-size: .87rem; }
.footer-bottom a:hover { color: #60a5fa; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .dropdown { width: 480px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--line); }
    .process-grid, .benefit-cards, .value-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
}
@media (max-width: 820px) {
    section { padding: 60px 0; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 88px; left: 0; right: 0; bottom: 0; background: #fff; padding: 20px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; margin-left: 0; }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { width: 100%; padding: 14px; justify-content: space-between; }
    .dropdown { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; grid-template-columns: 1fr; padding: 0 0 0 12px; }
    .has-dropdown.is-open .dropdown { display: grid; }
    .hero { padding: 80px 0 110px; }
    .form-row, .feature-grid, .process-grid, .benefit-cards, .value-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Animation pack
   ============================================================ */

/* Load-in animations (page heroes) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.anim-up { opacity: 0; animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) forwards; }
.d-1 { animation-delay: .12s; } .d-2 { animation-delay: .24s; } .d-3 { animation-delay: .36s; } .d-4 { animation-delay: .5s; }

/* Floating gradient blobs on heroes */
@keyframes blobFloat { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.08); } }
.page-hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before { content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%); top: -130px; right: 6%; animation: blobFloat 9s ease-in-out infinite; pointer-events: none; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }

/* Shimmering accent text */
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.hero h1 .accent { background: linear-gradient(90deg, #60a5fa, #bfdbfe, #60a5fa); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }

/* Service hero stats */
.hero-stats { display: flex; gap: 38px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hs-num { font-size: 1.7rem; font-weight: 800; color: #60a5fa; }
.hs-label { font-size: .85rem; color: #b9c6dc; }

/* Icon + card hover effects */
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.svc-card .icon, .value-card .icon { transition: background .25s, color .25s; }
.svc-card:hover .icon { background: var(--blue); color: #fff; }
.svc-card:hover .icon i, .value-card:hover .icon i { animation: wiggle .5s ease; }
.process-step { transition: transform .25s, box-shadow .25s; }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit-card { transition: transform .25s, box-shadow .25s; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.chip { transition: transform .2s, border-color .2s, color .2s; }
.chip:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); }

/* Button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-primary:hover::after { left: 130%; }

/* FAQ accordion */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(37,99,235,.35); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--navy); text-align: left; }
.faq-q i { transition: transform .3s; color: var(--blue); flex: 0 0 auto; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 20px; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), #60a5fa); z-index: 2000; transition: width .1s linear; }

/* Back to top */
.back-top { position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 1500; box-shadow: var(--shadow-lg); }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue-dark); }

/* Industries marquee */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .marquee-track { display: flex; gap: 12px; width: max-content; flex-wrap: nowrap; justify-content: flex-start; animation: marqueeScroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .anim-up, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Hero slider
   ============================================================ */
.hero-slider { display: grid; padding: 0; }
.hero-slider .hero-slide { grid-area: 1 / 1; padding: 100px 0 150px; opacity: 0; visibility: hidden; transform: translateX(48px); transition: opacity .65s ease, transform .65s ease, visibility .65s; position: relative; z-index: 1; }
.hero-slider .hero-slide.active { opacity: 1; visibility: visible; transform: none; z-index: 2; }

/* Per-slide content entrance (re-runs on every slide change) */
.hero-slide .slide-el { opacity: 0; }
.hero-slide.active .slide-el { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-slide.active .se-1 { animation-delay: .15s; }
.hero-slide.active .se-2 { animation-delay: .3s; }
.hero-slide.active .se-3 { animation-delay: .45s; }

/* Slider controls */
.hero-nav { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 3; pointer-events: none; }
.hero-nav-inner { display: flex; align-items: center; gap: 18px; }
.hero-arrow { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: all .25s; }
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.hero-dots { pointer-events: auto; display: flex; gap: 9px; align-items: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: all .3s; }
.hero-dot:hover { background: rgba(255,255,255,.6); }
.hero-dot.active { width: 28px; background: #60a5fa; }

@media (max-width: 820px) {
    .hero-slider .hero-slide { padding: 70px 0 140px; }
    .hero-nav { bottom: 76px; }
}

/* ---------- Hero slider media column ---------- */
.hero-slider .hero-inner { max-width: none; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.4); display: block; animation: mediaFloat 6s ease-in-out infinite; }
.hero-media img.is-graphic { object-fit: contain; background: transparent; border: 0; box-shadow: none; }
.hero-media::after { content: ''; position: absolute; inset: auto -14px -14px auto; width: 120px; height: 120px; border-radius: 20px; background: linear-gradient(135deg, rgba(37,99,235,.5), transparent); z-index: -1; }
@keyframes mediaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1024px) {
    .hero-slider .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-media { max-width: 480px; }
}
@media (max-width: 560px) {
    .hero-media { display: none; }
}
