/* ==========================================================================
   Texono public site — Netsol-inspired theme.
   All colours / fonts / radii come from CSS variables injected by the layout
   (Admin > Theme Customizer), so never hard-code brand colours below.
   ========================================================================== */
:root {
    --primary: #1D81F2; --primary-rgb: 29,129,242; --primary-dark: #0B5FC4;
    --accent: #30D4C7; --accent-rgb: 48,212,199; --dark: #010412; --dark-rgb: 1,4,18;
    --heading: #0F172A; --text: #454648; --muted: #6B7280; --body-bg: #fff; --light-bg: #F6F8FB; --border: #E4E4E7;
    --header-bg: #fff; --header-bg-rgb: 255,255,255; --header-text: #1F2937; --topbar-bg: #03243A;
    --footer-bg: #03243A; --footer-bg2: #010412; --footer-text: #CBD5E1;
    --hero-overlay: #010412; --hero-overlay-rgb: 1,4,18; --hero-overlay-opacity: .7;
    --font-body: 'Poppins', system-ui, sans-serif; --font-heading: 'Poppins', system-ui, sans-serif;
    --base-size: 16px; --btn-radius: 10px; --card-radius: 16px; --shadow: 0 6px 20px rgba(15,23,42,.07);
    --header-h: 80px; --ease: cubic-bezier(.2,.7,.2,1);
}

html { font-size: var(--base-size); scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--body-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-heading); color: var(--heading); font-weight: 600; line-height: 1.25; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: rgba(var(--primary-rgb), .18); }
.container { max-width: 1680px; padding-left: clamp(1rem, 4vw, 3.5rem); padding-right: clamp(1rem, 4vw, 3.5rem); }
.text-primary-brand { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-light-brand { background: var(--light-bg) !important; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--primary); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; }

/* ---------- buttons ---------- */
.btn-brand, .btn-outline-brand, .btn-light-brand {
    --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .8rem;
    display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .95rem;
    border-radius: var(--btn-radius); transition: all .25s var(--ease); white-space: nowrap; border-width: 1.5px;
}
.btn-brand { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(var(--primary-rgb), .7); }
.btn-brand:hover, .btn-brand:focus { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-brand:hover { background: var(--primary); color: #fff; }
.btn-light-brand { background: #fff; color: var(--dark); border-color: #fff; }
.btn-light-brand:hover { background: transparent; color: #fff; }
.btn-brand .bi-arrow-right, .btn-outline-brand .bi-arrow-right, .btn-light-brand .bi-arrow-right, .link-arrow .bi-arrow-right { transition: transform .25s var(--ease); }
.btn-brand:hover .bi-arrow-right, .btn-outline-brand:hover .bi-arrow-right, .btn-light-brand:hover .bi-arrow-right, .link-arrow:hover .bi-arrow-right { transform: translateX(4px); }
.link-arrow { font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- top bar ---------- */
.topbar { background: var(--topbar-bg); color: rgba(255,255,255,.8); font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-social { display: flex; gap: .9rem; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 1030; background: var(--header-bg); border-bottom: 1px solid rgba(0,0,0,.05); transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(15,23,42,.18); background: rgba(var(--header-bg-rgb), .92); backdrop-filter: saturate(180%) blur(14px); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 2rem; }
.brand img { height: 40px; width: auto; display: block; }
.brand-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: var(--header-text); }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; list-style: none; margin-bottom: 0; padding: 0; height: 100%; }
.main-nav > li { height: 100%; display: flex; align-items: center; }
.main-nav > li > a, .main-nav > li > button {
    display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .9rem; color: var(--header-text);
    font-weight: 500; font-size: .93rem; background: none; border: 0; border-radius: 8px; position: relative;
}
.main-nav > li > a::after, .main-nav > li > button::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 2px; height: 2px; background: var(--primary);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > li:hover > a::after, .main-nav > li:hover > button::after, .main-nav > li > a.active::after, .main-nav > li > button.active::after { transform: scaleX(1); }
.main-nav > li > a:hover, .main-nav > li > button:hover, .main-nav .active { color: var(--primary); }
.main-nav .bi-chevron-down { font-size: .7rem; transition: transform .25s ease; }
.has-mega:hover .bi-chevron-down, .has-mega.open .bi-chevron-down { transform: rotate(180deg); }
.header-cta { margin-left: 1rem; }

/* mega menu */
.mega-panel {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s var(--ease); pointer-events: none;
}
.has-mega:hover .mega-panel, .has-mega.open .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-inner { display: grid; grid-template-columns: 320px 1fr; min-height: 300px; }
.mega-intro { background: linear-gradient(160deg, var(--light-bg), #fff); padding: 2.25rem 2rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.mega-intro h4 { font-size: 1.35rem; margin-bottom: .6rem; }
.mega-intro p { font-size: .9rem; color: var(--muted); flex: 1; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: 1.5rem; align-content: start; }
.mega-link { display: flex; gap: .85rem; padding: .85rem; border-radius: 12px; color: var(--heading); transition: background .2s ease; }
.mega-link:hover { background: var(--light-bg); color: var(--heading); }
.mega-link .ico { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .08); color: var(--primary); font-size: 1.1rem; transition: all .2s ease; }
.mega-link:hover .ico { background: var(--primary); color: #fff; }
.mega-link strong { display: block; font-weight: 600; font-size: .9rem; line-height: 1.3; }
.mega-link small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: .2rem; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.8rem; color: var(--header-text); padding: .25rem; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 1050; visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mobile-menu .backdrop { position: absolute; inset: 0; background: rgba(var(--dark-rgb), .5); opacity: 0; transition: opacity .3s; }
.mobile-menu.open .backdrop { opacity: 1; }
.mobile-menu .drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.mobile-menu.open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.drawer-body { overflow-y: auto; padding: .5rem 1.25rem 1.5rem; flex: 1; }
.drawer-body > a, .drawer-body summary { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--border); color: var(--heading); font-weight: 500; cursor: pointer; list-style: none; }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body details[open] summary .bi { transform: rotate(180deg); }
.drawer-body details a { display: block; padding: .55rem 0 .55rem 1rem; color: var(--text); font-size: .92rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 6rem 0 5rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
    background:
      radial-gradient(900px 500px at 85% 10%, rgba(var(--primary-rgb), .45), transparent 60%),
      radial-gradient(700px 450px at 0% 100%, rgba(var(--accent-rgb), .25), transparent 60%),
      linear-gradient(135deg, var(--dark) 0%, rgba(var(--hero-overlay-rgb), 1) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero.hero-light { background: var(--light-bg); color: var(--text); }
.hero.hero-light::before { background: radial-gradient(900px 500px at 85% 10%, rgba(var(--primary-rgb), .18), transparent 60%), radial-gradient(700px 450px at 0% 100%, rgba(var(--accent-rgb), .18), transparent 60%); }
.hero.hero-light::after { display: none; }
.hero.hero-light h1, .hero.hero-light .hero-lead { color: var(--heading); }
.hero.hero-light .hero-text { color: var(--text); }
.hero.hero-gradient { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--accent)); }
.hero.hero-gradient::before { display: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 500;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); margin-bottom: 1.5rem; }
.hero-light .hero-eyebrow { background: #fff; border-color: var(--border); color: var(--primary); }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: rgba(255,255,255,.9); font-weight: 500; min-height: 2.2em; margin-bottom: 1rem; }
.typed { background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typed-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); margin-left: 2px; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-text { color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 580px; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-media { position: relative; }
.hero-media img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-badges { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.glass-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); border-radius: 14px; padding: .8rem 1.1rem; }
.glass-badge strong { display: block; font-size: 1.35rem; color: #fff; line-height: 1.1; }
.glass-badge span { font-size: .78rem; color: rgba(255,255,255,.65); }
.hero-light .glass-badge { background: #fff; border-color: var(--border); }
.hero-light .glass-badge strong { color: var(--heading); }
.hero-light .glass-badge span { color: var(--muted); }

/* ---------- page banner (inner pages) ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 5rem 0 4rem; isolation: isolate; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(700px 380px at 90% 0%, rgba(var(--primary-rgb), .5), transparent 60%), radial-gradient(600px 380px at 0% 120%, rgba(var(--accent-rgb), .28), transparent 60%); }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; max-width: 900px; }
.page-banner .lead-text { color: rgba(255,255,255,.75); max-width: 760px; font-size: 1.05rem; }
.page-banner .lead-text p:last-child { margin-bottom: 0; }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; margin-bottom: 1rem; color: rgba(255,255,255,.6); list-style: none; padding: 0; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- sections ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.75); }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: .85rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }
.section-title { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.015em; margin-bottom: 1rem; }
.section-intro { color: var(--muted); font-size: 1.03rem; }
.section-dark .section-intro { color: rgba(255,255,255,.65); }
.section-head { max-width: 780px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: 2px; }

/* ---------- clients marquee ---------- */
.clients-strip { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.clients-heading { text-align: center; font-weight: 600; font-size: 1.15rem; color: var(--text); margin-bottom: 2rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 54px; width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: all .3s ease; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- experience / stats (Netsol style) ---------- */
.experience { background: var(--light-bg); border-top: 2px solid var(--primary); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-box { background: linear-gradient(180deg, #fff, rgba(255,255,255,.6)); border: 1px solid var(--border); border-radius: var(--btn-radius); padding: 1.25rem .75rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-value { font-family: var(--font-heading); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .35rem; line-height: 1.3; }
.experience-media { position: relative; }
.experience-media img { border-radius: var(--card-radius); box-shadow: 0 30px 60px -25px rgba(15,23,42,.35); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.experience-media .float-card { position: absolute; left: -2rem; bottom: 2rem; background: #fff; border-radius: 14px; padding: 1rem 1.25rem; box-shadow: 0 20px 40px -15px rgba(15,23,42,.3); display: flex; gap: .75rem; align-items: center; }
.float-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 1.2rem; }
.float-card strong { display: block; color: var(--heading); line-height: 1.2; }
.float-card small { color: var(--muted); }

/* ---------- cards ---------- */
.card-brand { background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 2rem; height: 100%; position: relative; transition: all .35s var(--ease); box-shadow: var(--shadow); overflow: hidden; }
.card-brand::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card-brand:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -20px rgba(var(--primary-rgb), .35); border-color: rgba(var(--primary-rgb), .3); }
.card-brand:hover::before { transform: scaleX(1); }
.card-brand h3, .card-brand h4 { font-size: 1.2rem; margin-bottom: .75rem; }
.card-brand p { color: var(--muted); font-size: .95rem; }
.icon-box { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.4rem;
    background: rgba(var(--primary-rgb), .08); color: var(--primary); transition: all .35s var(--ease); }
.card-brand:hover .icon-box { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-num { position: absolute; right: 1.5rem; top: 1.25rem; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: rgba(var(--primary-rgb), .07); line-height: 1; }

.card-img { border-radius: var(--card-radius); overflow: hidden; background: #fff; border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; transition: all .35s var(--ease); box-shadow: var(--shadow); color: inherit; }
.card-img:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -20px rgba(15,23,42,.3); color: inherit; }
.card-img .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--light-bg); position: relative; }
.card-img .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-img:hover .thumb img { transform: scale(1.06); }
.card-img .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-img h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--heading); transition: color .2s; }
.card-img:hover h3 { color: var(--primary); }
.card-img p { color: var(--muted); font-size: .92rem; flex: 1; }
.card-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 50px; background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.thumb .tag { position: absolute; left: 1rem; top: 1rem; background: #fff; }

/* feature rows (alternating) */
.feature-row { padding: 2.5rem 0; }
.feature-row + .feature-row { border-top: 1px dashed var(--border); }
.feature-row .media { border-radius: var(--card-radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,23,42,.4); background: var(--light-bg); }
.feature-row .media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.feature-row h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 1rem; }
.feature-row .rich { color: var(--text); }

/* tabs (add-ons) */
.tabs-nav { display: flex; flex-direction: column; gap: .5rem; }
.tab-btn { display: flex; align-items: center; gap: 1rem; text-align: left; width: 100%; padding: 1rem 1.2rem; border-radius: 14px; border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.75); font-weight: 500; transition: all .25s ease; }
.tab-btn .ico { flex: 0 0 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 1.15rem; transition: all .25s; }
.tab-btn:hover { background: rgba(255,255,255,.05); color: #fff; }
.tab-btn.active { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.tab-btn.active .ico { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.tab-panel { display: none; animation: fadeUp .45s var(--ease); }
.tab-panel.active { display: block; }
.tab-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--card-radius); overflow: hidden; }
.tab-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tab-card .body { padding: 2rem; }
.tab-card h3 { font-size: 1.5rem; }
.tab-card strong { color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.75rem 1.75rem 1.75rem 5.25rem; transition: all .3s var(--ease); }
.step:hover { border-color: rgba(var(--primary-rgb), .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 1.5rem; top: 1.6rem; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    font-weight: 700; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.step h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

/* check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 1rem; align-items: flex-start; }
.check-list .ico { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.check-list strong { display: block; color: var(--heading); }
.check-list span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: all .25s; }
.faq-item[open] { border-color: rgba(var(--primary-rgb), .35); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; font-weight: 600; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--light-bg); color: var(--primary); transition: transform .3s; }
.faq-item[open] summary .bi { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item .answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* team */
.team-card { text-align: center; }
.team-card .photo { border-radius: var(--card-radius); overflow: hidden; aspect-ratio: 4/5; position: relative; margin-bottom: 1.2rem; background: var(--light-bg); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .social { position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 20px); opacity: 0; display: flex; gap: .5rem; transition: all .35s var(--ease); }
.team-card:hover .social { transform: translate(-50%, 0); opacity: 1; }
.team-card .social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); }
.team-card .social a:hover { background: var(--primary); color: #fff; }
.team-card h5 { margin-bottom: .2rem; }
.team-card small { color: var(--primary); font-weight: 500; }

/* testimonials */
.testi { background: #fff; border-radius: var(--card-radius); border: 1px solid var(--border); padding: 2rem; height: 100%; }
.testi .stars { color: #F59E0B; margin-bottom: 1rem; }
.testi blockquote { font-size: 1rem; color: var(--text); margin-bottom: 1.5rem; }
.testi .who { display: flex; align-items: center; gap: .8rem; }
.testi .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- CTA / newsletter band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--card-radius) + 8px); padding: 4rem; color: #fff; isolation: isolate;
    background: linear-gradient(115deg, var(--dark) 0%, var(--primary-dark) 55%, var(--primary) 80%, var(--accent) 130%); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .55), transparent 65%); z-index: -1; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: calc(var(--btn-radius) + 4px); padding: .4rem; backdrop-filter: blur(10px); }
.newsletter-form input { flex: 1; background: transparent; border: 0; color: #fff; padding: .6rem 1rem; outline: none; min-width: 0; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-msg { font-size: .85rem; margin-top: .6rem; min-height: 1.2em; }

/* ---------- rich content (blog / service bodies imported from WP) ---------- */
.rich { font-size: 1.02rem; color: var(--text); }
.rich h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; }
.rich h3 { font-size: 1.35rem; margin: 2rem 0 .85rem; }
.rich h4, .rich h5, .rich h6 { font-size: 1.12rem; margin: 1.6rem 0 .7rem; }
.rich p { margin-bottom: 1.1rem; }
.rich ul, .rich ol { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.rich li { margin-bottom: .45rem; }
.rich ul li::marker { color: var(--primary); }
.rich img { border-radius: 14px; margin: 1.25rem 0; display: block; }
.rich blockquote { border-left: 4px solid var(--primary); background: var(--light-bg); padding: 1rem 1.5rem; border-radius: 0 12px 12px 0; font-style: italic; }
.rich table { width: 100%; margin: 1.5rem 0; font-size: .92rem; }
.rich table th { background: var(--light-bg); color: var(--heading); }
.rich .table-wrap { overflow-x: auto; }
.rich a.btn { margin: .5rem 0 1.25rem; }
.rich > *:first-child { margin-top: 0; }

/* blog layout */
.post-hero-img { border-radius: var(--card-radius); overflow: hidden; margin-top: -3rem; position: relative; z-index: 2; box-shadow: 0 30px 60px -30px rgba(15,23,42,.45); background: var(--light-bg); }
.post-hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-box h5 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--text); font-size: .92rem; }
.cat-list a:hover, .cat-list a.active { color: var(--primary); }
.cat-list .count { font-size: .75rem; background: var(--light-bg); border-radius: 50px; padding: .1rem .6rem; color: var(--muted); }
.mini-post { display: flex; gap: .85rem; padding: .6rem 0; color: var(--heading); }
.mini-post img { width: 72px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 72px; }
.mini-post span { font-size: .87rem; font-weight: 500; line-height: 1.35; }
.mini-post small { display: block; color: var(--muted); font-weight: 400; margin-top: .2rem; }
.search-box { display: flex; border: 1px solid var(--border); border-radius: var(--btn-radius); overflow: hidden; }
.search-box input { flex: 1; border: 0; padding: .7rem 1rem; outline: none; min-width: 0; }
.search-box button { border: 0; background: var(--primary); color: #fff; padding: 0 1rem; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 .9rem; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--heading); font-weight: 500; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.post-nav a { border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.3rem; color: var(--heading); font-weight: 500; font-size: .92rem; }
.post-nav a:hover { border-color: var(--primary); }
.post-nav small { display: block; color: var(--muted); font-weight: 400; margin-bottom: .25rem; }
.share a { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text); margin-right: .35rem; }
.share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* side cta */
.side-cta { background: linear-gradient(150deg, var(--dark), var(--primary-dark)); color: #fff; border-radius: var(--card-radius); padding: 2rem; }
.side-cta h5 { color: #fff; }
.side-cta p { color: rgba(255,255,255,.75); font-size: .92rem; }

/* contact */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.4rem; margin-bottom: 1rem; transition: all .3s; }
.contact-card:hover { border-color: rgba(var(--primary-rgb), .35); box-shadow: var(--shadow); }
.contact-card .ico { flex: 0 0 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 1.25rem; }
.contact-card h6 { margin-bottom: .15rem; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; }
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--card-radius) + 4px); padding: 2.5rem; box-shadow: 0 30px 60px -35px rgba(15,23,42,.35); }
.form-control-brand { border: 1px solid var(--border); border-radius: var(--btn-radius); padding: .8rem 1rem; font-size: .95rem; width: 100%; transition: border-color .2s, box-shadow .2s; background: #fff; }
.form-control-brand:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.form-label { font-size: .88rem; font-weight: 500; color: var(--heading); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--footer-bg), var(--footer-bg2)); color: var(--footer-text); font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; right: -250px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--primary-rgb), .25), transparent 65%); pointer-events: none; }
.footer-top { padding: 5rem 0 3rem; position: relative; }
.site-footer h6 { color: #fff; font-size: 1rem; margin-bottom: 1.3rem; font-weight: 600; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; transition: all .2s; }
.footer-links a:hover { transform: translateX(4px); }
.footer-logo img { height: 42px; width: auto; }
.footer-logo.invert img { filter: brightness(0) invert(1); }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact .bi { color: var(--accent); margin-top: .2rem; }
.social-row { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social-row a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: all .25s; }
.social-row a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .85rem; position: relative; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom nav { display: flex; gap: 1.5rem; }

.back-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--primary); color: #fff; z-index: 1000; display: grid; place-items: center;
    box-shadow: 0 10px 25px -8px rgba(var(--primary-rgb), .8); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; scroll-behavior: auto !important; } }

/* ---------- error page ---------- */
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .main-nav > li > a, .main-nav > li > button { padding: .5rem .6rem; font-size: .88rem; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    :root { --header-h: 70px; }
    .main-nav, .header-cta { display: none; }
    .nav-toggle { display: block; }
    .section { padding: 4.5rem 0; }
    .hero { padding: 4rem 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 2.5rem 1.75rem; }
    .experience-media .float-card { left: 1rem; }
    .topbar-info .hide-md { display: none !important; }
}
@media (max-width: 575.98px) {
    .steps { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .topbar { display: none; }
    .form-panel { padding: 1.5rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
