/* ==========================================================================
   TechnoSuffice — Theme CSS
   ========================================================================== */
:root {
    --bg-dark: #050b1f;
    --bg-dark-2: #0a1433;
    --primary: #2f6bff;
    --primary-600: #1f55e0;
    --cyan: #22d3ee;
    --violet: #8b5cf6;
    --green: #22c55e;
    --text: #0e1630;
    --muted: #5b6479;
    --muted-dark: #9aa6c7;
    --light: #f4f7fd;
    --border: #e3e8f3;
    --white: #fff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px -12px rgba(16, 32, 84, .18);
    --shadow-lg: 0 30px 60px -20px rgba(16, 32, 84, .30);
    --grad: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    --grad-text: linear-gradient(90deg, #5ea8ff 0%, var(--cyan) 45%, #b794ff 100%);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: inherit; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 9999;
    background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn-ts {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .78rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
    border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    white-space: nowrap; cursor: pointer;
}
.btn-ts i { transition: transform .25s; font-size: .85em; }
.btn-ts:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-lg-ts { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-ts-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 25px -8px rgba(47, 107, 255, .6); }
.btn-ts-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(47, 107, 255, .75); }
.btn-ts-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ts-ghost:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.btn-ts-outline { color: var(--text); border-color: var(--border); background: #fff; }
.btn-ts-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ts-light { background: #fff; color: var(--primary-600); }
.btn-ts-light:hover { color: var(--primary-600); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
    --header-h: 70px;
    background: rgba(5, 11, 31, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -15px rgba(0,0,0,.5);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 200px; height: auto;  object-fit: contain; }
.main-nav { gap: .25rem; align-items: center; }
.main-nav > li { position: relative; }
.main-nav > li > a {
    display: inline-flex; align-items: center; gap: .35rem;
    color: rgba(255,255,255,.82); font-weight: 600; font-size: .94rem; padding: .55rem .8rem; border-radius: 10px;
}
.main-nav > li > a i { font-size: .6rem; opacity: .7; }
.main-nav > li > a:hover, .main-nav > li > a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.drop {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; padding: .5rem;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop a { display: flex; gap: .7rem; align-items: center; padding: .6rem .8rem; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .92rem; }
.drop a i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--light); color: var(--primary); font-size: .85rem; }
.drop a:hover { background: var(--light); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); display: grid; place-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.mobile-menu { background: var(--bg-dark); color: #fff; max-width: 88vw; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu ul li a { display: block; padding: .85rem 0; color: #fff; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu-mail { margin-top: 1.2rem; color: var(--muted-dark); font-size: .9rem; }
.mobile-menu-mail a { color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 90px;
    background: radial-gradient(1200px 700px at 75% 40%, #0f2366 0%, var(--bg-dark) 60%);
    color: #fff; isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; }
.hero-canvas.is-ready { opacity: 1; }
.hero-grid {
    position: absolute; inset: 0; z-index: -2; 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 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; }
.hero-glow-1 { width: 480px; height: 480px; background: rgba(47,107,255,.35); top: -120px; left: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(139,92,246,.30); bottom: -140px; right: 10%; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan); padding: .45rem .9rem; border-radius: 999px;
    background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); margin-bottom: 1.2rem;
}
.eyebrow-dark { color: var(--primary); background: rgba(47,107,255,.07); border-color: rgba(47,107,255,.18); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.3rem); margin-bottom: 1.3rem; color: #fff; }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #c3cde8; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); max-width: 540px; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-trust strong i { color: #fbbf24; font-size: .9rem; margin-left: 4px; vertical-align: middle; }
.hero-trust span { color: var(--muted-dark); font-size: .85rem; }

.hero-float-zone { position: relative; height: 520px; perspective: 1200px; transform-style: preserve-3d; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.2rem; border-radius: 16px; color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 25px 50px -20px rgba(0,0,0,.6);
    transition: transform .2s ease-out; will-change: transform;
    animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.15rem; line-height: 1.1; }
.float-card span { font-size: .8rem; color: var(--muted-dark); }
.fc-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-size: 1.1rem; }
.fc-icon-green { background: linear-gradient(135deg, #16a34a, #22d3ee); }
.fc-1 { top: 6%; right: 4%; }
.fc-2 { top: 38%; left: 0; animation-delay: -2.5s; }
.fc-3 { bottom: 6%; right: 12%; animation-delay: -4.5s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.code-card { display: block; padding: .8rem 1rem 1rem; min-width: 290px; }
.code-dots { display: flex; align-items: center; gap: 6px; margin-bottom: .6rem; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-dots span { margin-left: 8px; font-family: var(--mono); font-size: .75rem; color: var(--muted-dark); }
.code-card pre { margin: 0; font-family: var(--mono); font-size: .8rem; line-height: 1.8; color: #dbe4ff; white-space: pre; }
.c-k { color: var(--cyan); } .c-g { color: #4ade80; } .c-m { color: var(--muted-dark); } .c-c { color: #b794ff; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Tech marquee ---------- */
.tech-strip { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0; overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tech-item { display: inline-flex; align-items: center; gap: .6rem; color: #8f9bbd; font-weight: 700; font-size: 1.05rem; white-space: nowrap; transition: color .2s; }
.tech-item i { font-size: 1.5rem; }
.tech-item:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section-ts { padding: 110px 0; position: relative; }
.section-light { background: var(--light); }
.section-dark { background: radial-gradient(900px 500px at 10% 0%, #13266b 0%, var(--bg-dark) 60%); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3.5rem; }
.section-head.d-md-flex { max-width: none; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
.section-dark .section-sub { color: #b8c3e3; }

/* ---------- Services ---------- */
.service-card {
    height: 100%; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: box-shadow .3s, border-color .3s, transform .2s ease-out; transform-style: preserve-3d;
}
.service-card::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; z-index: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,107,255,.10), transparent 45%);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { border-color: rgba(47,107,255,.35); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: var(--grad); box-shadow: 0 12px 24px -10px rgba(47,107,255,.7); margin-bottom: 1.4rem; transform: translateZ(30px);
}
.service-title { font-size: 1.25rem; margin-bottom: .7rem; }
.service-title a { color: var(--text); }
.service-title a:hover { color: var(--primary); }
.service-card p { color: var(--muted); margin-bottom: 1.2rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.service-tags li { font-size: .75rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--light); color: #3d4a6b; }
.service-link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; }
.service-link i { transition: transform .25s; font-size: .8em; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 30px 40px 0; transform-style: preserve-3d; transition: transform .2s ease-out; }
.dash { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: #f8faff; border-bottom: 1px solid var(--border); }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dash-top i:nth-child(2) { background: #febc2e; } .dash-top i:nth-child(3) { background: #28c840; }
.dash-top span { margin-left: 10px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.dash-body { padding: 22px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-kpis div { padding: 12px; border-radius: 12px; background: var(--light); }
.dash-kpis span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.dash-kpis strong { font-size: 1.2rem; }
.dash-chart { height: 140px; display: flex; align-items: flex-end; gap: 10px; padding: 0 4px 12px; border-bottom: 1px dashed var(--border); margin-bottom: 16px; }
.dash-chart span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--primary), rgba(139,92,246,.55)); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.dash-chart span:nth-child(odd) { background: linear-gradient(180deg, var(--cyan), rgba(47,107,255,.45)); }
@keyframes grow { from { transform: scaleY(0); } }
.dash-rows div { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .9rem; font-weight: 600; border-bottom: 1px solid #f0f3f9; }
.dash-rows em { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-g { background: var(--green); } .dot-b { background: var(--primary); } .dot-v { background: var(--violet); }
.about-badge {
    position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: .8rem;
    padding: 1.1rem 1.4rem; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); transform: translateZ(50px);
}
.about-badge strong { font-size: 2.6rem; line-height: 1; }
.about-badge span { font-weight: 600; line-height: 1.3; font-size: .9rem; }
.check-list { margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.check-list i { color: var(--primary); font-size: 1.1rem; }
.about-author { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.about-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.about-author strong { display: block; }
.about-author span { color: var(--primary); font-size: .88rem; font-weight: 600; }
.about-mail { margin-left: auto; font-weight: 700; color: var(--text); padding: .6rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: .9rem; }

/* ---------- Counters ---------- */
.counters { background: var(--grad); padding: 60px 0; color: #fff; position: relative; overflow: hidden; }
.counters::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; pointer-events: none; }
.counter-item { text-align: center; position: relative; z-index: 1; }
.counter-item i { font-size: 1.6rem; opacity: .85; margin-bottom: .6rem; }
.counter-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.counter-item p { margin: .3rem 0 0; color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- Process ---------- */
.process-step { height: 100%; padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); position: relative; transition: .3s; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-num { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #d5dcee; }
.process-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); background: rgba(47,107,255,.09); font-size: 1.3rem; margin-bottom: 1.2rem; }
.process-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Why / Skills ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.why-grid > div { padding: 1.2rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why-grid i { color: var(--cyan); font-size: 1.3rem; margin-bottom: .6rem; }
.why-grid h3 { font-size: 1rem; margin-bottom: .25rem; color: #fff; }
.why-grid p { margin: 0; font-size: .88rem; color: #aab5d6; line-height: 1.55; }
.skills-card { padding: 2.4rem; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.skills-title { font-size: 1.3rem; margin-bottom: 1.6rem; color: #fff; }
.skill + .skill { margin-top: 1.4rem; }
.skill-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: .55rem; font-size: .95rem; }
.skill-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--primary), var(--violet)); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }

/* ---------- Case studies ---------- */
.case-card { height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: box-shadow .3s, transform .2s ease-out; transform-style: preserve-3d; }
.case-card:hover { box-shadow: var(--shadow-lg); }
.case-visual { height: 220px; position: relative; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.95); font-size: 4rem; }
.case-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; }
.case-visual i { position: relative; transition: transform .5s; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.case-card:hover .case-visual i { transform: scale(1.12) rotate(-6deg); }
.case-a { background: linear-gradient(135deg, #1f55e0, #22d3ee); }
.case-b { background: linear-gradient(135deg, #6d28d9, #ec4899); }
.case-c { background: linear-gradient(135deg, #0f766e, #84cc16); }
.case-metrics { position: absolute; left: 16px; bottom: 16px; display: flex; gap: .5rem; }
.case-metrics span { font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.case-body { padding: 1.6rem 1.8rem 2rem; }
.case-cat { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.case-body h3 { font-size: 1.3rem; margin: .4rem 0 .6rem; }
.case-body p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-swiper { padding-bottom: 50px !important; }
.testi-card { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 10px; }
.testi-card img { border-radius: 12px; width: 100%; }
.swiper-pagination-bullet { background: #b5c0da; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); width: 24px; border-radius: 6px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-img { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; aspect-ratio: 5 / 6; background: var(--light); }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-social { position: absolute; left: 50%; bottom: 16px; translate: -50% 20px; opacity: 0; display: flex; gap: .45rem; transition: .35s; }
.team-card:hover .team-social, .team-card:focus-within .team-social { translate: -50% 0; opacity: 1; }
.team-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--text); box-shadow: var(--shadow); }
.team-social a:hover { background: var(--primary); color: #fff; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.team-card span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(47,107,255,.35); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; margin: 0; font-weight: 700; }
.faq-item summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--primary); font-size: .8rem; transition: transform .3s, background .3s, color .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: .3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-cat { position: absolute; left: 14px; top: 14px; font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; background: #fff; color: var(--primary); }
.blog-body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .83rem; color: var(--muted); margin-bottom: .7rem; }
.blog-meta i { color: var(--primary); margin-right: 3px; }
.blog-body h3 { font-size: 1.18rem; line-height: 1.4; margin-bottom: 1.2rem; }
.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .9rem; }
.blog-more { font-weight: 700; }
.blog-catlink { color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 110px; }
.cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
    padding: 3.5rem; border-radius: 28px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(600px 300px at 90% 0%, rgba(34,211,238,.35), transparent 60%), var(--grad);
    box-shadow: 0 30px 60px -25px rgba(47,107,255,.6);
}
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .5rem; max-width: 620px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #aab5d6; padding: 90px 0 0; }
.footer-brand img { width: 190px; margin-bottom: 1.2rem; }
.footer-about { max-width: 340px; font-size: .95rem; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.4rem; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.08); transition: .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-title { font-size: 1.05rem; color: #fff; margin-bottom: 1.3rem; }
.footer-links li + li { margin-top: .65rem; }
.footer-links a { color: #aab5d6; font-size: .95rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .75rem; align-items: center; margin-bottom: .8rem; font-size: .95rem; }
.footer-contact i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(47,107,255,.15); color: var(--cyan); }
.footer-contact a { color: #fff; word-break: break-all; }
.footer-bottom { margin-top: 70px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.4rem; }
.footer-bottom a { color: #aab5d6; }
.footer-bottom a:hover { color: #fff; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; border: 0; color: #fff; background: var(--grad); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .brand img { width: 160px; }
    .section-ts { padding: 80px 0; }
    .hero { text-align: left; }
    .hero-canvas.is-ready { opacity: .55; }
    .faq-intro { position: static; }
    .about-mail { margin-left: 0; }
}
@media (max-width: 575.98px) {
    .eyebrow { font-size: .7rem; letter-spacing: .08em; }
    .hero-trust { gap: 1.4rem; }
    .hero-trust strong { font-size: 1.3rem; }
    .hero-actions .btn-ts { width: 100%; }
    .why-grid { grid-template-columns: 1fr; }
    .cta-inner { padding: 2.2rem 1.5rem; }
    .cta-actions, .cta-actions .btn-ts { width: 100%; }
    .service-card { padding: 1.6rem; }
    .footer-bottom { flex-direction: column; }
    .dash-kpis strong { font-size: 1rem; }
    .about-visual { padding: 0 0 50px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- WhatsApp button (Admin → Settings → Contact) ---------- */
.whatsapp-float { position: fixed; left: 20px; bottom: 20px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); transition: transform .25s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ==========================================================================
   Blog pages (Step 2)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 60px) 0 70px; background: radial-gradient(900px 500px at 80% 0%, #1b3a9e 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #3b1f8f 0%, transparent 60%), var(--bg-dark); }
.page-hero-grid { position: absolute; inset: 0; 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: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); }
.page-hero-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 .8rem; color: #fff; }
.page-hero-sub { color: #c3cde8; font-size: 1.08rem; max-width: 640px; margin-bottom: 1.8rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; }
.crumbs li { color: #9aa6c7; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #c3cde8; }
.crumbs a:hover { color: #fff; }
.hero-search { display: flex; align-items: center; max-width: 560px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 6px 6px 20px; backdrop-filter: blur(10px); }
.hero-search i { color: #9aa6c7; }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: .6rem .8rem; font-size: 1rem; }
.hero-search input::placeholder { color: #9aa6c7; }
.hero-search button { border: 0; border-radius: 999px; padding: .65rem 1.3rem; font-weight: 700; color: #fff; background: var(--grad); }

.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.cat-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .9rem; background: #fff; transition: .2s; }
.cat-chips a span { font-size: .72rem; padding: 1px 7px; border-radius: 99px; background: var(--light); color: var(--muted); }
.cat-chips a:hover { border-color: var(--primary); color: var(--primary); }
.cat-chips a.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.cat-chips a.is-active span { background: rgba(255,255,255,.25); color: #fff; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.featured-img { display: block; min-height: 340px; background: var(--light); overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.featured-post:hover .featured-img img { transform: scale(1.04); }
.featured-body { padding: 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1rem; }
.featured-body h2 a { color: var(--text); }
.featured-body h2 a:hover { color: var(--primary); }
.featured-body p { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; background: var(--light); color: var(--muted); }
.tag-blue { background: rgba(47,107,255,.1); color: var(--primary); }
.tag-amber { background: #fff4d6; color: #b45309; }
.tag-glass { background: rgba(34,211,238,.12); color: var(--cyan); border: 1px solid rgba(34,211,238,.3); }
.tag-glass:hover { color: #fff; }
.blog-img-placeholder { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; font-size: 2.6rem; color: rgba(255,255,255,.9); background: linear-gradient(135deg, #1f55e0, #8b5cf6); }
.blog-excerpt { color: var(--muted); font-size: .93rem; margin: -0.6rem 0 1.2rem; }
.empty-blog { text-align: center; padding: 80px 20px; }
.empty-blog i { font-size: 3rem; color: #c3cbe0; margin-bottom: 1rem; }
.empty-blog p { color: var(--muted); }
.blog-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.blog-pagination .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-link { border-radius: 10px !important; border: 1px solid var(--border); color: var(--text); font-weight: 700; min-width: 42px; text-align: center; }
.blog-pagination .page-item.active .page-link { background: var(--grad); border-color: transparent; color: #fff; }
.blog-pagination nav > div:first-child { display: none; }

/* Single post */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--primary), var(--violet)); }
.post-hero { padding-bottom: 150px; text-align: center; }
.post-hero .crumbs { justify-content: center; }
.post-title { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 900px; margin: 0 auto 1.4rem; color: #fff; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.3rem; color: #c3cde8; font-size: .92rem; }
.post-meta i { margin-right: 4px; color: var(--cyan); }
.post-author { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: #fff; }
.post-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.post-section { padding: 0 0 90px; }
.post-cover { margin: -110px auto 3.5rem; max-width: 1040px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 2; background: var(--light); }
.post-cover img { width: 100%; }
.post-section .row { padding-top: 3.5rem; }
.post-cover + .row { padding-top: 0; }

.post-content { font-size: 1.1rem; line-height: 1.85; color: #28324d; overflow-wrap: break-word; }
.post-content > *:first-child { margin-top: 0; }
.post-content h2 { font-size: 1.85rem; margin: 2.4rem 0 1rem; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h3 { font-size: 1.4rem; margin: 2rem 0 .8rem; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h4 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; color: var(--text); }
.post-content p { margin-bottom: 1.4rem; }
.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-content a:hover { text-decoration-thickness: 2px; }
.post-content ul, .post-content ol { list-style: revert; padding-left: 1.6rem; margin-bottom: 1.4rem; }
.post-content li { margin-bottom: .5rem; }
.post-content li::marker { color: var(--primary); font-weight: 700; }
.post-content blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--primary); background: var(--light); border-radius: 0 14px 14px 0; font-size: 1.15rem; font-style: italic; color: var(--text); }
.post-content blockquote p:last-child { margin: 0; }
.post-content img { border-radius: 14px; height: auto; }
.post-content figure { margin: 2rem 0; }
.post-content figure.image { display: table; margin-left: auto; margin-right: auto; }
.post-content figure.image img { display: block; }
.post-content figure.image-style-side, .post-content figure.image-style-align-right { float: right; margin: .3rem 0 1rem 1.6rem; max-width: 50%; }
.post-content figure.image-style-align-left { float: left; margin: .3rem 1.6rem 1rem 0; max-width: 50%; }
.post-content figure.image_resized { max-width: 100%; }
.post-content figure.image_resized img { width: 100%; }
.post-content figcaption { display: table-caption; caption-side: bottom; text-align: center; font-size: .88rem; color: var(--muted); padding-top: .6rem; }
.post-content .table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--border); border-radius: 14px; }
.post-content figure.table { margin: 0; }
.post-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.post-content th, .post-content td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.post-content th { background: var(--light); font-weight: 700; }
.post-content pre { background: #0b1230; color: #dbe4ff; padding: 1.2rem 1.4rem; border-radius: 14px; overflow-x: auto; font-size: .9rem; line-height: 1.6; margin: 1.8rem 0; }
.post-content code { font-family: var(--mono); font-size: .9em; }
.post-content :not(pre) > code { background: var(--light); color: #c026d3; padding: .15em .4em; border-radius: 6px; }
.post-content hr { margin: 2.6rem 0; border-color: var(--border); opacity: 1; }
.post-content .media, .post-content figure.media { margin: 2rem 0; }
.post-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.post-content .text-tiny { font-size: .7em; } .post-content .text-small { font-size: .85em; } .post-content .text-big { font-size: 1.4em; } .post-content .text-huge { font-size: 1.8em; }
.post-content mark { padding: .05em .25em; border-radius: 4px; }
.post-content .todo-list { list-style: none; padding-left: 0; }
.post-content::after { content: ""; display: table; clear: both; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2.5rem 0 0; color: var(--muted); }
.post-tags span { font-size: .85rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; background: var(--light); color: #3d4a6b; }
.share-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding: 1.3rem 1.5rem; border-radius: 16px; border: 1px solid var(--border); }
.share-links { display: flex; gap: .5rem; }
.share-links a, .share-links button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; border: 0; transition: transform .2s; }
.share-links a:hover, .share-links button:hover { transform: translateY(-3px); color: #fff; }
.s-fb { background: #1877f2; } .s-x { background: #0f1419; } .s-in { background: #0a66c2; } .s-wa { background: #25d366; } .s-copy { background: var(--primary); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.post-nav a { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.4rem; border-radius: 16px; border: 1px solid var(--border); color: var(--text); transition: .25s; }
.post-nav a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.post-nav small { color: var(--primary); font-weight: 700; font-size: .8rem; }
.post-nav span { font-weight: 700; line-height: 1.4; }
.post-nav .next { text-align: right; grid-column: 2; }

.post-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.4rem; }
.side-card { padding: 1.5rem; border-radius: 18px; border: 1px solid var(--border); background: #fff; }
.side-title { font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.side-title i { color: var(--primary); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; max-height: 50vh; overflow-y: auto; }
.toc li a { display: block; padding: .4rem 0 .4rem .9rem; color: var(--muted); font-size: .92rem; border-left: 2px solid var(--border); line-height: 1.45; }
.toc li.toc-l3 a { padding-left: 1.8rem; font-size: .87rem; }
.toc li a:hover, .toc li a.is-current { color: var(--primary); border-left-color: var(--primary); }
.side-cta { color: #fff; border: 0; background: radial-gradient(300px 200px at 100% 0%, rgba(34,211,238,.4), transparent 60%), var(--grad); }
.side-cta h2 { font-size: 1.3rem; color: #fff; }
.side-cta p { color: rgba(255,255,255,.85); font-size: .95rem; }
.recent-list li + li { margin-top: .9rem; }
.recent-list a { display: flex; gap: .8rem; align-items: center; color: var(--text); }
.recent-list a:hover strong { color: var(--primary); }
.recent-thumb { width: 72px; height: 54px; flex: none; border-radius: 10px; overflow: hidden; background: var(--light); display: grid; place-items: center; color: #b5bdd3; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-list strong { display: block; font-size: .9rem; line-height: 1.35; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-list small { color: var(--muted); font-size: .78rem; }
.side-cats li a { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--text); font-weight: 600; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats li a span { font-size: .75rem; padding: 2px 9px; border-radius: 99px; background: var(--light); color: var(--muted); }
.side-cats li a:hover { color: var(--primary); }

@media (max-width: 991.98px) {
    .featured-post { grid-template-columns: 1fr; }
    .featured-img { min-height: 240px; aspect-ratio: 16 / 9; }
    .featured-body { padding: 1.8rem; }
    .post-sidebar { position: static; }
    .post-content figure.image-style-side, .post-content figure.image-style-align-right, .post-content figure.image-style-align-left { float: none; max-width: 100%; margin: 1.5rem auto; }
}
@media (max-width: 575.98px) {
    .post-hero { padding-bottom: 110px; }
    .post-cover { margin-top: -80px; border-radius: 16px; }
    .post-content { font-size: 1.03rem; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { grid-column: 1; }
    .hero-search button { padding: .6rem 1rem; }
}
.featured-body .btn-ts { align-self: flex-start; }

/* ==========================================================================
   Pages: about, services, testimonials, contact, quote (Step 3)
   ========================================================================== */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.about-stat { padding: 2rem 1.6rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .3rem; }
.about-stat:nth-child(2), .about-stat:nth-child(3) { background: var(--grad); color: #fff; border: 0; }
.about-stat i { font-size: 1.4rem; color: var(--primary); margin-bottom: .6rem; }
.about-stat:nth-child(2) i, .about-stat:nth-child(3) i { color: #fff; }
.about-stat strong { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-stat span { color: var(--muted); font-weight: 600; }
.about-stat:nth-child(2) span, .about-stat:nth-child(3) span { color: rgba(255,255,255,.85); }
.value-card { height: 100%; padding: 2.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.value-card p { color: var(--muted); margin: 0; }
.section-dark .why-grid { grid-template-columns: repeat(2, 1fr); }

/* Services page */
.service-jump { position: relative; z-index: 3; margin-top: -32px; }
.service-jump-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: .8rem; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.service-jump-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 12px; color: var(--text); font-weight: 700; font-size: .9rem; }
.service-jump-nav a i { color: var(--primary); }
.service-jump-nav a:hover { background: var(--light); color: var(--primary); }
.service-detail { scroll-margin-top: calc(var(--header-h) + 10px); }
.feature-panel { padding: 2.2rem; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s ease-out; }
.section-light .feature-panel { background: #fff; }
.feature-panel h3 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.feature-panel ul { display: grid; gap: .8rem; }
.feature-panel li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.feature-panel li i { color: var(--primary); margin-top: 5px; }
.why-step { position: relative; height: 100%; padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.why-step span { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); }
.why-step i { font-size: 1.5rem; color: var(--cyan); margin-bottom: 1rem; }
.why-step h3 { font-size: 1.1rem; color: #fff; }
.why-step p { color: #aab5d6; margin: 0; font-size: .94rem; }

/* Testimonials */
.testi-quote { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.testi-stars { color: #fbbf24; display: flex; gap: 3px; font-size: .95rem; }
.testi-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; color: #28324d; flex: 1; }
.testi-quote figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testi-quote figcaption img, .testi-initials { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-initials { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.testi-quote strong { display: block; line-height: 1.2; }
.testi-quote small { color: var(--muted); }
.testi-shot-inline img { border-radius: 12px; border: 1px solid var(--border); }
.testi-masonry { columns: 3 320px; column-gap: 1.5rem; }
.testi-masonry .testi-quote { break-inside: avoid; margin-bottom: 1.5rem; height: auto; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; padding: 2rem 2.4rem; margin-bottom: 3rem; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.rating-big { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding-right: 2rem; border-right: 1px solid var(--border); }
.rating-big strong { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.rating-big span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.rating-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.rating-meta strong { display: block; font-size: 1.8rem; font-weight: 800; }
.rating-meta span { color: var(--muted); font-weight: 600; }
.shot-card { display: block; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #fff; padding: 10px; box-shadow: var(--shadow); }
.shot-card img { border-radius: 12px; width: 100%; }
.shot-card span { position: absolute; left: 20px; bottom: 20px; padding: .4rem .9rem; border-radius: 99px; background: rgba(5,11,31,.75); color: #fff; font-weight: 700; font-size: .85rem; opacity: 0; transition: .25s; }
.shot-card:hover span { opacity: 1; }

/* Contact */
.contact-cards-wrap { position: relative; z-index: 3; margin-top: -40px; }
.contact-card { height: 100%; display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); color: var(--text); transition: .25s; }
a.contact-card:hover { transform: translateY(-5px); color: var(--text); border-color: rgba(47,107,255,.4); }
.contact-card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.25rem; margin-bottom: .8rem; }
.contact-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact-card strong { font-size: 1rem; word-break: break-word; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* Forms */
.form-card { padding: 2.4rem; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card-title { font-size: 1.6rem; margin-bottom: .4rem; }
.ts-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; color: var(--text); }
.ts-form input[type=text], .ts-form input:not([type]), .ts-form input[type=email], .ts-form input[type=tel], .ts-form textarea, .ts-form select {
    width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid #dbe1ee; background: #fbfcff; font: inherit; font-size: .98rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.ts-form input:focus, .ts-form textarea:focus, .ts-form select:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.ts-form .is-invalid { border-color: #dc2626 !important; background: #fffafa; }
.ts-form textarea { resize: vertical; min-height: 140px; }
.req { color: #dc2626; }
.optional { color: var(--muted); font-weight: 500; font-size: .82rem; }
.field-error { display: block; color: #dc2626; font-weight: 600; margin-top: .35rem; font-size: .83rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.5rem; }
.form-alert-error { background: #fdeeee; color: #991b1b; border: 1px solid #f7caca; }
.form-alert i { margin-top: 3px; }
.form-alert ul { margin: .3rem 0 0; padding-left: 1.1rem; list-style: disc; font-size: .92rem; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success-icon { width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #16a34a, #22d3ee); box-shadow: 0 16px 36px -12px rgba(22,163,74,.6); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-success h2 { font-size: 1.8rem; }
.form-success p { color: var(--muted); max-width: 460px; margin: 0 auto 1.6rem; }
.form-step { border: 0; padding: 0 0 1.8rem; margin: 0 0 1.8rem; border-bottom: 1px dashed var(--border); }
.form-step legend { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; font-weight: 800; margin-bottom: 1.1rem; float: none; width: auto; }
.form-step legend > span:first-child { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .85rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; }
.choice-card { margin: 0 !important; cursor: pointer; }
.choice-card input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .95rem 1rem; border-radius: 14px; border: 1.5px solid #dbe1ee; background: #fbfcff; font-weight: 700; font-size: .93rem; transition: .2s; }
.choice-card span i { color: #cbd3e5; transition: color .2s; }
.choice-card:hover span { border-color: #9db8ff; }
.choice-card input:checked + span { border-color: var(--primary); background: rgba(47,107,255,.06); color: var(--primary); }
.choice-card input:checked + span i { color: var(--primary); }
.choice-card input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.small-label { font-size: .85rem !important; color: var(--muted) !important; }
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { margin: 0 !important; cursor: pointer; }
.pill span { display: inline-block; padding: .55rem 1rem; border-radius: 99px; border: 1.5px solid #dbe1ee; font-weight: 600; font-size: .88rem; transition: .2s; background: #fff; }
.pill:hover span { border-color: #9db8ff; }
.pill input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.file-drop { display: flex !important; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1.5px dashed #c9d2e6; background: #fbfcff; cursor: pointer; font-weight: 600 !important; transition: .2s; }
.file-drop:hover { border-color: var(--primary); }
.file-drop i { font-size: 1.2rem; color: var(--primary); }
.file-drop small { display: block; color: var(--muted); font-weight: 500; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1rem; }
.next-steps li { counter-increment: s; position: relative; padding-left: 2.6rem; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--primary); background: rgba(47,107,255,.1); }
.next-steps strong { display: block; }
.next-steps span { color: var(--muted); font-size: .9rem; }
.trust-card { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; background: var(--light); border: 0; }
.trust-card strong { display: block; font-size: 1.4rem; font-weight: 800; }
.trust-card strong i { font-size: .8rem; color: #fbbf24; margin-left: 2px; }
.trust-card span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.btn-ts.is-loading { pointer-events: none; opacity: .8; }

@media (max-width: 991.98px) {
    .rating-big { border-right: 0; padding-right: 0; }
}
@media (max-width: 575.98px) {
    .form-card { padding: 1.5rem; border-radius: 18px; }
    .about-stats { gap: .8rem; }
    .about-stat { padding: 1.4rem 1.1rem; }
    .about-stat strong { font-size: 1.9rem; }
    .section-dark .why-grid { grid-template-columns: 1fr; }
    .rating-summary { padding: 1.5rem; }
    .service-jump-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .service-jump-nav a { white-space: nowrap; }
}
@media (max-width: 575.98px) { .btn-ts { white-space: normal; text-align: center; } }
/* Placeholder behind images (shown if an image file is missing) */
.blog-img, .featured-img, .post-cover { background: linear-gradient(135deg, #1f55e0, #8b5cf6); }
.post-cover:not(:has(img)) { min-height: 220px; }

/* ==========================================================================
   Facebook Video Downloader
   ========================================================================== */
.tool-hero { text-align: center; padding-bottom: 90px; }
.tool-hero .crumbs { justify-content: center; }
.fbd-form { display: flex; gap: .7rem; max-width: 760px; margin: 0 auto; }
.fbd-input { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; padding: 6px 6px 6px 20px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.fbd-input > i { color: var(--muted); }
.fbd-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: .85rem 0; color: var(--text); background: transparent; }
.fbd-paste { border: 0; border-radius: 12px; padding: .7rem 1rem; background: var(--light); color: var(--text); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.fbd-paste:hover { background: #e7ecf8; }
.fbd-submit { border-radius: 16px; padding-left: 1.8rem; padding-right: 1.8rem; }
.fbd-submit:disabled { opacity: .85; cursor: wait; }
.fbd-note { margin: 1rem 0 0; color: #aab5d6; font-size: .9rem; }
.fbd-note i { color: var(--cyan); margin-right: 4px; }
.fbd-error { max-width: 760px; margin: 1.2rem auto 0; padding: .9rem 1.2rem; border-radius: 14px; background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.45); color: #fecaca; font-weight: 600; text-align: left; }
.fbd-result { display: flex; gap: 1.4rem; max-width: 760px; margin: 1.6rem auto 0; padding: 1.2rem; border-radius: 20px; background: #fff; color: var(--text); text-align: left; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); animation: pop .4s ease; }
.fbd-result[hidden], .fbd-error[hidden] { display: none; }
.fbd-thumb { width: 210px; flex: none; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #1877f2, #8b5cf6); display: grid; place-items: center; }
.fbd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fbd-thumb i { font-size: 2.6rem; color: rgba(255,255,255,.9); }
.fbd-info { flex: 1; min-width: 0; }
.fbd-info h2 { font-size: 1.1rem; line-height: 1.4; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbd-links { display: grid; gap: .6rem; }
.fbd-link-row { display: flex; align-items: center; gap: .7rem; padding: .5rem .5rem .5rem .7rem; border-radius: 14px; border: 1px solid var(--border); }
.fbd-q { font-size: .75rem; font-weight: 800; padding: .3rem .6rem; border-radius: 8px; color: #fff; }
.fbd-q-hd { background: var(--grad); } .fbd-q-sd { background: #64748b; }
.fbd-label { flex: 1; font-weight: 600; font-size: .92rem; }
.fbd-link-row .btn-ts { padding: .6rem 1.1rem; }
.fbd-open { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--light); color: var(--text); }
.fbd-tip { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
.fbd-tip i { color: #f59e0b; }
.fbd-disclaimer { margin: 0; padding: 1rem 1.3rem; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
@media (max-width: 767.98px) {
    .fbd-form { flex-direction: column; }
    .fbd-paste span { display: none; }
    .fbd-result { flex-direction: column; }
    .fbd-thumb { width: 100%; }
}

/* ==========================================================================
   Free tools (hub + shared tool UI)
   ========================================================================== */
.tool-hero-sm { padding-bottom: 130px; }
.tool-app-wrap { position: relative; z-index: 3; margin-top: -100px; }
.tool-app { padding: 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.tool-privacy { text-align: center; color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }
.tool-privacy i { color: var(--green); margin-right: 4px; }
.tool-card { height: 100%; display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: var(--text); transition: .3s; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(47,107,255,.35); color: var(--text); }
.tool-card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--c, var(--primary)); margin-bottom: .6rem; box-shadow: 0 12px 24px -12px var(--c, var(--primary)); }
.tool-card h3 { font-size: 1.2rem; margin: 0; }
.tool-card p { color: var(--muted); margin: 0; flex: 1; }
.tool-card-go { margin-top: .6rem; font-weight: 700; color: var(--primary); }
.tool-card-go i { transition: transform .25s; }
.tool-card:hover .tool-card-go i { transform: translateX(5px); }

.dropzone { height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: 2rem; border: 2px dashed #c9d2e6; border-radius: 18px; background: #fafbfe; text-align: center; cursor: pointer; transition: .2s; margin: 0; }
.dropzone:hover, .dropzone.is-over { border-color: var(--primary); background: rgba(47,107,255,.05); }
.dropzone > i { font-size: 2.6rem; color: var(--primary); margin-bottom: .4rem; }
.dropzone strong { font-size: 1.1rem; }
.dropzone u { color: var(--primary); }
.dropzone small { color: var(--muted); }
.ic-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.tool-options { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border-radius: 18px; background: var(--light); }
.opt label { display: flex; justify-content: space-between; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; }
.opt label.check { justify-content: flex-start; gap: .5rem; align-items: center; margin-top: 1.9rem; font-weight: 600; }
.opt input:not([type=range]):not([type=checkbox]):not([type=color]), .opt select, .opt textarea { width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid #dbe1ee; background: #fff; font: inherit; font-size: .95rem; color: var(--text); }
.opt input:focus, .opt select:focus, .opt textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.opt input[type=range] { width: 100%; accent-color: var(--primary); }
.opt input[type=color] { width: 100%; height: 44px; border: 1.5px solid #dbe1ee; border-radius: 10px; padding: 4px; background: #fff; cursor: pointer; }
.opt-hint { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.opt + .opt { margin-top: .8rem; }
.opt-row .opt + .opt { margin-top: 0; }

.ic-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.5rem; padding: 1rem 1.3rem; border-radius: 16px; background: var(--light); }
.ic-summary[hidden] { display: none; }
.ic-summary > div:not(.ic-actions) { display: flex; flex-direction: column; }
.ic-summary strong { font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.ic-summary span { color: var(--muted); font-size: .8rem; font-weight: 600; }
.ic-saved strong { color: var(--green); }
.ic-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.ic-list { display: grid; gap: .7rem; margin-top: 1rem; }
.ic-item { display: flex; align-items: center; gap: 1rem; padding: .7rem; border-radius: 14px; border: 1px solid var(--border); }
.ic-item > img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--light); }
.ic-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ic-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .93rem; }
.ic-meta small { color: var(--muted); }
.ic-right { display: flex; align-items: center; gap: .8rem; flex: none; }
.ic-sizes { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.ic-sizes b { color: var(--text); }
.ic-badge { font-size: .78rem; font-weight: 800; padding: .3rem .6rem; border-radius: 8px; background: #e8f8ee; color: #15803d; white-space: nowrap; }
.ic-badge.is-zero { background: var(--light); color: var(--muted); }
.ic-right .btn-ts { padding: .55rem 1rem; }
.ic-remove { width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--light); color: var(--muted); }
.ic-remove:hover { background: #fdeceb; color: #dc2626; }
.ic-bad { color: #dc2626; font-weight: 600; font-size: .88rem; }

.pd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.3rem; border-radius: 16px; background: var(--light); }
.pd-bar[hidden] { display: none; }
.pd-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.pd-item { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: .6rem; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.pd-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--light); border-radius: 8px; }
.pd-num { position: absolute; top: .9rem; left: .9rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; }
.pd-tools { display: flex; justify-content: space-between; gap: .3rem; }
.pd-tools button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: var(--light); color: var(--text); }
.pd-tools button:hover:not(:disabled) { background: #e3e9f7; }
.pd-tools button:disabled { opacity: .35; }
.pd-item small { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.qr-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.qr-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.qr-tabs button { border: 1.5px solid var(--border); background: #fff; border-radius: 12px; padding: .55rem .9rem; font-weight: 700; font-size: .88rem; color: var(--text); }
.qr-tabs button.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.qr-panel { margin-bottom: 1rem; }
.qr-more { border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.2rem; }
.qr-more summary { cursor: pointer; font-weight: 700; margin-bottom: .8rem; }
.qr-more .opt-row + .opt-row { margin-top: .8rem; }
.qr-preview { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.4rem; border-radius: 20px; background: var(--light); }
.qr-canvas-wrap { width: 100%; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.qr-canvas-wrap canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.qr-status { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.qr-status.is-warn { color: #b45309; font-weight: 600; }

.yt-form { margin-bottom: 0; }
.yt-form .fbd-input { box-shadow: none; border: 1.5px solid #dbe1ee; }
.yt-form .fbd-input > i { color: #ff0033; font-size: 1.2rem; }
.yt-error { background: #fdeeee !important; color: #991b1b !important; border-color: #f7caca !important; }
.yt-results { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.yt-results[hidden] { display: none; }
.yt-thumb { margin: 0; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; background: #fff; }
.yt-thumb[hidden] { display: none; }
.yt-thumb:first-child { grid-row: span 3; }
.yt-img { background: var(--light); aspect-ratio: 16 / 9; }
.yt-img img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb figcaption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; }
.yt-thumb figcaption span { color: var(--muted); font-size: .88rem; }
.yt-thumb figcaption b { color: var(--text); margin-right: .3rem; }
.yt-thumb .btn-ts { padding: .5rem 1rem; }

.wc-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.wc-stats > div { padding: 1rem; border-radius: 14px; background: var(--light); text-align: center; }
.wc-stats strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wc-stats span { color: var(--muted); font-size: .8rem; font-weight: 600; }
.wc-toolbar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.wc-toolbar button { border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: .45rem .8rem; font-size: .85rem; font-weight: 600; color: var(--text); }
.wc-toolbar button:hover { border-color: var(--primary); color: var(--primary); }
.wc-grid { display: grid; grid-template-columns: 1fr 300px; gap: 1.2rem; }
.wc-text { width: 100%; min-height: 380px; resize: vertical; padding: 1.2rem 1.3rem; border-radius: 16px; border: 1.5px solid #dbe1ee; font: inherit; font-size: 1.05rem; line-height: 1.7; color: var(--text); background: #fbfcff; }
.wc-text:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.wc-side { padding: 1.2rem; border-radius: 16px; background: var(--light); }
.wc-side h3 { font-size: .95rem; margin: 0 0 .7rem; }
.wc-side h3 i { color: var(--primary); margin-right: 4px; }
.wc-details { margin-bottom: 1.3rem; }
.wc-details li { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .88rem; border-bottom: 1px dashed #d9dfee; }
.wc-details span { color: var(--muted); }
.wc-keywords { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.wc-keywords li { display: grid; grid-template-columns: 1fr auto; gap: 2px .6rem; font-size: .86rem; }
.wc-keywords em { grid-column: 1 / -1; order: 3; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) var(--w), #dfe5f2 var(--w)); }
.wc-keywords b { color: var(--muted); font-weight: 600; }

@media (max-width: 991.98px) {
    .ic-grid, .qr-grid, .wc-grid { grid-template-columns: 1fr; }
    .qr-preview { position: static; }
    .wc-stats { grid-template-columns: repeat(3, 1fr); }
    .yt-results { grid-template-columns: 1fr 1fr; }
    .yt-thumb:first-child { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 575.98px) {
    .tool-app { padding: 1.1rem; border-radius: 18px; }
    .opt-row { grid-template-columns: 1fr; }
    .opt label.check { margin-top: 0; }
    .ic-item { flex-wrap: wrap; }
    .ic-right { width: 100%; justify-content: space-between; }
    .ic-right .btn-ts span { display: none; }
    .ic-actions { margin-left: 0; width: 100%; }
    .ic-actions .btn-ts { flex: 1; }
    .yt-results { grid-template-columns: 1fr; }
    .wc-stats { grid-template-columns: repeat(2, 1fr); }
    .wc-text { min-height: 260px; }
}

/* ---------- Tools set 2: merge pdf, pdf to jpg, resizer, password ---------- */
.drop-2col { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; left: 50%; transform: translate(-50%, 8px); }
.has-drop:hover .drop-2col, .has-drop:focus-within .drop-2col { transform: translate(-50%, 0); }
.dropzone-wide { min-height: 180px; }
.mp-name { width: 160px; padding: .6rem .8rem; border-radius: 10px; border: 1.5px solid #dbe1ee; font: inherit; font-size: .9rem; }
.mp-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.mp-item { position: relative; display: flex; align-items: center; gap: 1rem; padding: .8rem .9rem .8rem 3rem; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.mp-item .pd-num { top: 50%; left: .8rem; transform: translateY(-50%); }
.mp-item.is-bad { border-color: #f7caca; background: #fffafa; }
.mp-item.is-bad small { color: #dc2626; }
.mp-icon { font-size: 1.8rem; color: #dc2626; flex: none; }
.mp-range { width: 210px; padding: .55rem .75rem; border-radius: 10px; border: 1.5px solid #dbe1ee; font: inherit; font-size: .88rem; }
.mp-range:focus, .mp-name:focus { outline: 0; border-color: var(--primary); }
.mp-btns { display: flex; gap: .3rem; }
.mp-btns button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--light); color: var(--text); }
.mp-btns button:disabled { opacity: .35; }
.mp-btns button[data-a=del]:hover { background: #fdeceb; color: #dc2626; }
.pj-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pj-wait { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--light); border-radius: 8px; color: var(--primary); }
.pj-grid .pd-item img { aspect-ratio: auto; max-height: 260px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pj-dl { padding: .45rem .7rem !important; font-size: .78rem !important; }
.rz-mode { display: flex; gap: .3rem; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.rz-mode button { flex: 1; border: 0; border-radius: 9px; padding: .55rem .4rem; font-weight: 700; font-size: .85rem; background: transparent; color: var(--muted); }
.rz-mode button.is-active { background: var(--grad); color: #fff; }
.rz-dims { grid-template-columns: 1fr auto 1fr; align-items: end; }
.rz-lock { width: 42px; height: 44px; border-radius: 10px; border: 1.5px solid #dbe1ee; background: #fff; color: var(--muted); }
.rz-lock.is-on { color: var(--primary); border-color: var(--primary); }
.pw-output { display: flex; align-items: center; gap: 1rem; padding: 1rem 1rem 1rem 1.4rem; border-radius: 18px; border: 2px solid var(--border); background: #fbfcff; }
.pw-value { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: .02em; overflow-wrap: anywhere; color: var(--text); }
.pw-actions { display: flex; gap: .6rem; flex: none; }
.pw-icon { width: 50px; height: 50px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; color: var(--primary); font-size: 1.1rem; }
.pw-icon.spin i { animation: spin .5s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.pw-meter { margin: 1rem 0 1.5rem; }
.pw-bar { height: 8px; border-radius: 99px; background: var(--light); overflow: hidden; }
.pw-bar span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .35s, background .35s; }
.pw-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pw-checks { display: grid; gap: .5rem; margin-top: .4rem; }
.pw-checks label, .check-inline { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.pw-checks input, .check-inline input, .opt label.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.pw-checks code { margin-left: auto; font-size: .78rem; color: var(--muted); background: #fff; padding: 1px 6px; border-radius: 6px; }
.pw-list { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid #dbe1ee; font-family: var(--mono); font-size: .88rem; line-height: 1.7; resize: vertical; background: #fff; }
@media (max-width: 991.98px) { .pw-grid { grid-template-columns: 1fr; } .drop-2col { min-width: 0; grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
    .mp-item { flex-wrap: wrap; }
    .mp-range { width: 100%; order: 5; }
    .mp-name { width: 100%; }
    .pw-output { flex-direction: column; align-items: stretch; }
    .pw-actions .btn-ts { flex: 1; }
}

/* ---------- Step 4: service page, CMS pages, team, errors ---------- */
.service-hero-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 3rem; padding: 1.3rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.service-hero-card .service-icon { margin: 0; }
.service-hero-card strong { font-size: 1.15rem; }
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 2rem; border-radius: 22px; color: #fff; background: radial-gradient(400px 200px at 100% 0%, rgba(34,211,238,.35), transparent 60%), var(--grad); }
.cta-inline h2 { font-size: 1.4rem; margin-bottom: .3rem; color: #fff; }
.cta-inline p { margin: 0; color: rgba(255,255,255,.85); }
.side-services li a { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; color: var(--text); font-weight: 600; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.side-services li:last-child a { border-bottom: 0; }
.side-services li a > i:first-child { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(47,107,255,.1); color: var(--primary); font-size: .85rem; }
.side-services li a .fa-chevron-right { font-size: .7rem; color: var(--muted); }
.side-services li a:hover { color: var(--primary); }
.team-initials { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: #fff; background: var(--grad); }
.team-bio { color: var(--muted); font-size: .88rem; margin: .5rem 0 0; }
.cms-content h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.error-hero { padding-bottom: 90px; }
.error-code { font-size: clamp(6rem, 20vw, 11rem); font-weight: 800; line-height: .9; margin-bottom: .6rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 575.98px) { .feature-cols { grid-template-columns: 1fr; } .service-hero-card .btn-ts { width: 100%; margin-left: 0 !important; } }
